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 September 15. Request your voucher.
Hi,
I have a Matrix, where my KeyDateLookup is a customised Dimension and my ActualsQoQ, ActualsQoQ_minus1 are my measures which calculate the Cumulative sums.
In the below image for row no 17, I would need the value $1812077.0,
for row no 114, I would need $6105780.8 and so on for the blank rows and similar calculation would be needed for other measures.
Can you please help me with this?
Thanks
Vishakha
Solved! Go to Solution.
Please try measure like below:
Measure 2 = var current_ = SELECTEDVALUE('Table'[Key Date Lookup])
return IF(ISBLANK([Measure]),CALCULATE(SUM('Table'[Value]),FILTER(ALL('Table'),'Table'[Key Date Lookup]=current_-1)),[Measure])
I created a sample pbix for your reference
Please try measure like below:
Measure 2 = var current_ = SELECTEDVALUE('Table'[Key Date Lookup])
return IF(ISBLANK([Measure]),CALCULATE(SUM('Table'[Value]),FILTER(ALL('Table'),'Table'[Key Date Lookup]=current_-1)),[Measure])
I created a sample pbix for your reference
Hi @vishakhawali ,
Can you please share a mockup data or sample of your PBIX file. You can use a onedrive, google drive, we transfer or similar link to upload your files.
If the information is sensitive please share it trough private message.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsUser | Count |
---|---|
65 | |
61 | |
60 | |
53 | |
30 |
User | Count |
---|---|
181 | |
88 | |
71 | |
48 | |
46 |