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
Hello,
I am trying to find the latest id with the same key (sleutel)
Where did I go wrong
--------
Solved! Go to Solution.
Hi @Anonymous
You could create a column to calculate the last id for each key, then create a measure to compare with last id and the id,
last id column = CALCULATE(MAX('Table'[id]),FILTER('Table','Table'[Sleutel]=EARLIER('Table'[Sleutel])))
measure
true/false = MAX([id])=MAX([last id column])
or creat
Hi @Anonymous
You could create a column to calculate the last id for each key, then create a measure to compare with last id and the id,
last id column = CALCULATE(MAX('Table'[id]),FILTER('Table','Table'[Sleutel]=EARLIER('Table'[Sleutel])))
measure
true/false = MAX([id])=MAX([last id column])
or creat
Hi @Anonymous,
could you explain what you are trying to do? Is IsLaatstVeranderdDateByID a column or a measure? This part of your code: Distinct(Rule_Result_Rowwise[ID]) = CALCULATE(..., do you want to return true/false?
Cheers,
Sturla
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 |
---|---|
109 | |
78 | |
67 | |
52 | |
50 |
User | Count |
---|---|
121 | |
119 | |
77 | |
62 | |
61 |