Skip to main content
Announcements
April 9th: The AI Roadmap: 6 Landmarks for AI-ready Data and Analytics: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
sujit_nath
Creator III

Set expression with OR condition

I want to show the amount where product is either ‘a’ or category is ‘x’ . What would be the set expression for this.

sujit_nath_0-1621274677600.png

 

 

1 Solution

Accepted Solutions
GaryGiles
Specialist

You could use:

aggr(only({$<product={'a'}>+<category={'x'}>} ID), ID) for you ID dimension expression.

View solution in original post

1 Reply
GaryGiles
Specialist

You could use:

aggr(only({$<product={'a'}>+<category={'x'}>} ID), ID) for you ID dimension expression.