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.
I have the following table and want to calculate the difference for each date.
How do I do this in a measure?
First date should be: 20
Second date should be: 60
Time | Value | Category 1 |
2022-01-01 | 50 | A |
2022-01-01 | 30 | A |
2022-01-01 | 45 | B |
2022-01-01 | 47 | B |
2022-01-02 | 51 | A |
2022-01-02 | 52 | A |
2022-01-02 | 70 | A |
2022-01-02 | 20 | B |
2022-01-02 | 22 | B |
2022-01-02 | 10 | C |
2022-01-03 | 14 | A |
Hi,
try this:
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍