Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hello, community!
I'm new in power bi and I need your help 🙂
I have a table "Cash_flow", there are the columns with:
One flat can have several contracts. I want to get only contracts with the latest date by one flat.
Can anybody help me?
Thank you in advance!
Solved! Go to Solution.
Hi @bbodnar,
You can create a measure and add it in the Visual level filter if you don't want to add it in the visual.
Measure =
VAR maxDate =
CALCULATE ( MAX ( Table1[Date] ), ALLEXCEPT ( Table1, Table1[FlatID] ) )
RETURN
IF ( MIN ( Table1[Date] ) = maxDate, 1, BLANK () )
Best Regards,
Dale
Hi @bbodnar,
Please mark the proper answers as solutions.
Best Regards,
Dale
Hi @bbodnar,
You can create a measure and add it in the Visual level filter if you don't want to add it in the visual.
Measure =
VAR maxDate =
CALCULATE ( MAX ( Table1[Date] ), ALLEXCEPT ( Table1, Table1[FlatID] ) )
RETURN
IF ( MIN ( Table1[Date] ) = maxDate, 1, BLANK () )
Best Regards,
Dale
Hi
Is there any way to create this dynamically with respect Max Date Selected in Date Slicer.
Similar question is answered here. This may help you.
http://community.powerbi.com/t5/Desktop/Max-Row-Based-on-Insert-Date/td-p/446426
Thanks
Raj
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 29 | |
| 27 | |
| 25 | |
| 25 | |
| 18 |
| User | Count |
|---|---|
| 54 | |
| 49 | |
| 43 | |
| 34 | |
| 32 |