Forum Discussion
SnapShot Table with Metrics
- 6 years ago
Hi SpiroswayGR ,
Create a table using an expression as below:
Date = CALENDAR(MIN('Table'[System Date]),MAX('Table'[System Date]))Then use a dax expression:
Measure = CALCULATE(SUM('Table'[Pax]),FILTER(ALL('Date'),'Date'[Date]<=MAX('Date'[Date])),USERELATIONSHIP('Date'[Date],'Table'[System Date])) -CALCULATE(SUM('Table'[Pax]),FILTER(ALL('Date'),'Date'[Date]<=MAX('Date'[Date])),USERELATIONSHIP('Date'[Date],'Table'[Cancelation Date]),'Table'[Cancelation Date]<>BLANK())Finally,you will see :
For the related .pbix file,pls click here.
Best Regards,
KellyDid I answer your question? Mark my post as a solution!
Anonymous This is not working for me cause i want snapshot information ...
For example : On 05/03 System date , i want total revenue from 01/01 to 05/03 , On System Date 07/03 , i want total revenue from 01/101 to 07/03 etc...
So all these values per different system saved in a table and visualize them. (It should be like a cumulative chart but it's not cumulative in reality , its a snapshot image for each date)
Yes you can create measure as per your requirement.
You can do cummulative calculations in power BI.
Please share sample date and expected output.
I will provide you exact dax.
Thanks & regards,
Pravin Wattamwar
www.linkedin.com/in/pravin-p-wattamwar
If I resolve your problem Mark it as a solution and give kudos.