Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I've got a chart that compares sales pounds in one time period (alternate state BasePeriod) versus a comparative time period (alternate state ComparePeriod). That works fine but how do I get the chart to respect selections in other list boxes? For example, by using these expressions...
Expression 1 =sum({[BasePeriod]<[Country]=$::[Country]>}[Sales Pounds])
Expression 2 =sum({[ComparePeriod]<[Country]=$::Country]>}[Sales Pounds])
...the chart will respect any selections in the Country list box. But there are dozens of other dimensional fields that the users may select from (through Search, if not an actual ListBox). So how do I write the expressions so that I don't have to account for every single field the user may be making selections in? I'm hoping I don't have to write expressions that are hundreds of characters in length, listing every possible dimensional field.
Are the users just selecting dates? If so you can do:
Expression 1 =sum({$<Date=[BasePeriod]::Date>}[Sales Pounds])
Expression 2 =sum({$<Date=[ComparePeriod]::Date>}[Sales Pounds])
This will make it so each expression accepts all selectors and the date will equal the date from the respective alternate state.
Are the users just selecting dates? If so you can do:
Expression 1 =sum({$<Date=[BasePeriod]::Date>}[Sales Pounds])
Expression 2 =sum({$<Date=[ComparePeriod]::Date>}[Sales Pounds])
This will make it so each expression accepts all selectors and the date will equal the date from the respective alternate state.
Perfect, thanks!!!!