In this article we discuss how to add conditional reporting to your report. By conditional reporting we mean that we either DO or DO NOT report certain parts of a report under conditions. Most often this is not showing a table when its empty.
The following syntax can be used as an example to quick start your conditional reporting challenge:
A. {d.REPORT_Risk_Report.System[i].isriskfor_Risk_reverse[0]:ifEM() :drop(row)}
B. {d.REPORT_Risk_Report.System[i].isriskfor_Risk_reverse[0]:ifEM() :keep(row)}}
Note: be sure to not use "i" but "0" between brackets.
To learn more, please watch the below instruction video.
Content
0:00 Introduction
0:55 Adding a condition to hide
3:20 Inspecting the result
4:35 Adding a condition to show
6:35 Not query data