The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
I have a date slicer aswell
My requirement is to get the max of date for every name when slicer is selected aswell.
I was able to get the max of date without slicer but when slicer is selected my logic is not working
CALCULATE(MAX(Orders[Date]), ALLEXCEPT(Orders,Orders[Name]))
but this logic not working when date slicer is active.
I need as below
a 10/1/2023 b 8/28/2023 c 6/15/2023
if slicer is selected for 9/30/2023, I need as below
a 9/1/2023 b 8/28/2023 c 6/15/2023
Any help is appretiated
@ask_kumar , Try a measure like
calculate( max(Orders[Date]), filter(all(Orders), Orders[Name] = max(Orders[Name])))
or
calculate(lastnonblankvalue(Orders[Date], max(Orders[Date])), filter(all(Orders), Orders[Name] = max(Orders[Name])))
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 August 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
80 | |
75 | |
52 | |
50 |
User | Count |
---|---|
133 | |
124 | |
78 | |
64 | |
61 |