Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Set Analysis

I have to expressions that are working independently, but I would like to combine them into one. How would I do that?

Expression 1:

Brings back only XYZ Brand based on other dynamic selections:

sum({<[Brand]={"XYZ"}>}TotalGSV)

Brings back YTD results:

sum({$<Year = {$(=only(Year))}, Month = {"<=$(=max(Month))"}>} TotalGSV)

I am trying to combine these because I want to bring back a specific brand all of the time but want the values to change based on my year to date selection.

Any suggestions??

1 Solution

Accepted Solutions
johnw
Champion III
Champion III

sum({<Brand={'XYZ'},Year={'$(=only(Year))'},Month={"<=$(=max(Month))"}>} TotalGSV)

Or am I not understanding?

View solution in original post

2 Replies
johnw
Champion III
Champion III

sum({<Brand={'XYZ'},Year={'$(=only(Year))'},Month={"<=$(=max(Month))"}>} TotalGSV)

Or am I not understanding?

Not applicable
Author

Thank you! That worked!!