Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi
=aggr(
If(sum({$<Customer_ID, Cust_Year,Category, Product={'Global','State'},Year={">=$(=max(Year)-1)"}>}Value)
>= v_Quartile1,
'Over ' & num(v_Quartile1/$(v_Measure), '$#,##0.0'),
If(sum({$<Customer_ID, Cust_Year, Category, Product={ 'Global','State'}, Year={">=$(=max(Year)-1)"}>}Value)
< v_Quartile2,
'Under ' & num(v_Quartile2/$(v_Measure), '$#,##0.0'),
)) ,Cust_Year))
In the above expression if i select some values in filters for category and Product, the values are changing. I want these filters to be ignored irrelevant of the selections we make in filters.
John
Give this a shot:
=Only({<Category, Product = {'Global', 'State'}>}
Aggr(
If(Sum({$<Customer_ID, Cust_Year,Category, Product={'Global','State'},Year={">=$(=max(Year)-1)"}>}Value)
>= v_Quartile1,
'Over ' & num(v_Quartile1/$(v_Measure), '$#,##0.0'),
If(Sum({$<Customer_ID, Cust_Year, Category, Product={ 'Global','State'}, Year={">=$(=max(Year)-1)"}>}Value)
< v_Quartile2,
'Under ' & num(v_Quartile2/$(v_Measure), '$#,##0.0'))), Cust_Year))
maybe you have to disregard category and product also in
max(Year)
Thnx Sunny, Actually I tried with Only({1} Aggr expression) but it didn't worked, may i know how different it would behave.
John
Not much, I guess try maxgro's recommendation
Sure Maxgro, will try this..
John