1

How do I combine filter conditions in an RTF Template?

Desired filter condition:

APPLICATION=('AC','LD')
AND 
CATEGORY=('1001','1002')

I tried using <?for-each-group:G_1[contains(category,'1001')];./grouping_element?>, but it is filtering with only one condition.

Charlie
  • 8,530
  • 2
  • 55
  • 53

2 Answers2

1

You can use AND and OR in the standard filters.

<?for-each-group:G_1[(category="1001" or category="1002") and (application="LD" or application ="AC")];./grouping_element?>
EdHayes3
  • 1,777
  • 2
  • 16
  • 31
0

Refer Below & change accordingly,

<?for-each:G_MAIN?><?if@row:(contains(TASK_NUMBER,'-00-000') or contains(TASK_NUMBER,'0000'))?>
Bhargav Rao
  • 50,140
  • 28
  • 121
  • 140
Abbas
  • 1