Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Simon_J
Partner - Contributor III
Partner - Contributor III

Set Analysis Problem

Hi

I have a dashboard that has revenue for different time periods, however in one of the charts the calculation must look at revenue for the current month and year and be able to filter down on selections.

sum({<Monthyear={"$(vcurrentmonthyear)"}>}Revenuesum)/1000

The problem i have is that if a user clicks a different month in the dashboard, the chart changes because of the $ expansion.

How can i force the expression to only look at the current month. If i take the $ out, the variable errors.

Many Thanks,

Simon

1 Solution

Accepted Solutions
daveamz
Partner - Creator III
Partner - Creator III

Hi Simon,

Check the document attached.

Best Regards,

David

View solution in original post

4 Replies
davidrobles
Partner - Contributor III
Partner - Contributor III

vcurrentmonthyear


Define variable


=month(today())

Simon_J
Partner - Contributor III
Partner - Contributor III
Author

vcurrentmonthyear = Monthname(today());

daveamz
Partner - Creator III
Partner - Creator III

Hi Simon,

Check the document attached.

Best Regards,

David

Simon_J
Partner - Contributor III
Partner - Contributor III
Author

Thats great, thank you very much