Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
When a user selects a month in the multi-box I have provided, for the field named 'month', I want to filter the chart's data to that month only. How can I do that?
I know that Date#(month) returns the selected month but can't seem to use it correctly in set analysis.
Thanks.
if your expression is sum(Sales)
then your new expression will be :
=Sum({<Month={"$(=Max(Month))"}>} Sales)
if your expression is sum(Sales)
then your new expression will be :
=Sum({<Month={"$(=Max(Month))"}>} Sales)
Thanks a lot for your help.
Could you please tell me how I can do the same thing but for the month before the selected month? (example: user selects February, I want to apply set analysis on January)
if you have a date field then :
=Sum({<Date= {"$(=Addmonths(Date,-1))"}>} Sales)