Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi all,
I am going nuts here, and I have not been able to find the correct solution
I want to do the following.
Create a measure with the previous month BESTPRM.
That way I can compare BESTPRM with BESTPRM Prev.
However, if I only select one month in my slicer, than I have nothing in my BESTPRM Prev value.
Therefore I try to remove the filter with the ALL function using the measure below.
However, this results in my measure including all prevous dates values. Thus the BESTPRM Prev measure is to large.
I just want the value one month prior to the selected one in my slicer.
BESTPRM Prev = CALCULATE(SUM('Fact_table'[BESTPRM]);FILTER(all('dim Date');'dim Date'[Date]>=EOMONTH('dim Date'[Date];-1)))
Thanks in advance,
Kim
User | Count |
---|---|
140 | |
113 | |
104 | |
77 | |
65 |
User | Count |
---|---|
136 | |
117 | |
101 | |
71 | |
61 |