Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
My set analysis is not working.
Is my set analysis is right?
Logic: = Sum({$<[Month Abbr]=, Year=, [Quarter Name]=, [Calendar Date]={"$(=date(12*(Year(max([Calendar Date])))-Year(max([Calendar Date])) +Month(max([Calendar Date]))-Month(max([Calendar Date]))"}>}[# Open])
Thanks..
What exactly are you trying to accomplish here?
[Calendar Date]={"$(=date(12*(Year(max([Calendar Date])))-Year(max([Calendar Date])) +Month(max([Calendar Date]))-Month(max([Calendar Date]))"}
Hi,
you should evaluate this date part:
$(=date(12*(Year(max([Calendar Date])))-Year(max([Calendar Date])) +Month(max([Calendar Date]))-Month(max([Calendar Date]))
using Date#() and the format you used inside your expression.
Hi,
We need to show the data roll back to 12 months in bar chart using set analysis.
Thanks,
For rolling 12 months, you try like this:
Dimension: [Calendar Date]
sum(Aggr(rangesum(above(total sum({<[Month Abbr]=, Year=, [Quarter Name]=>}[# Open]),0,12),[Calendar Date]))
Br,
KC
There are a few examples for rolling periods, maybe they can help you.
Roll back 12 months from today?
=Sum({$<[Month Abbr], Year, [Quarter Name], [Calendar Date] = {"$(='>=' & Date(AddYears(Today(), -1), 'DateFieldFormatHere') & '<=' & Date(Today(), 'DateFieldFormatHere'))"}>}[# Open])