The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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