March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi How to get Value for each Type based on max date from column End_Date
This should be 2 measure, because will use it in card visual separetely
Measure1_Open : value 3 , because max date from End_Date = 31 Mar 2022
Measure2_Closed : value 11, because max date from End_Date = 28 Feb 2022
Thank
Solved! Go to Solution.
Hi @Delion ,
I think standard CALCULATE should work. Something like:
Measure1_Open = CALCULATE(SUM('Table'[Value]),LATESTDATE('Table'[End_Date]),'Table'[Type]="Open")
The same logic applies for the second measure.
I wrote this on my phone so if its not working, let me know and I will re-check from my pc.
Hi @Delion ,
I think standard CALCULATE should work. Something like:
Measure1_Open = CALCULATE(SUM('Table'[Value]),LATESTDATE('Table'[End_Date]),'Table'[Type]="Open")
The same logic applies for the second measure.
I wrote this on my phone so if its not working, let me know and I will re-check from my pc.
It's solved, I modify it a bit
Measure1_Open = CALCULATE(SUM('Table'[Value]),LASTDATE('Table'[End_Date]),'Table'[Type]="Open")
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
129 | |
90 | |
75 | |
58 | |
53 |
User | Count |
---|---|
200 | |
104 | |
101 | |
67 | |
55 |