The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event! Join us in Stockholm, Sweden from September 24-27, 2024.
2-for-1 sale on June 20 only!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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 the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
105 | |
97 | |
81 | |
62 | |
54 |
User | Count |
---|---|
246 | |
119 | |
114 | |
87 | |
70 |