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,
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 June 2024 Power BI update to learn about new features.
User | Count |
---|---|
99 | |
93 | |
81 | |
63 | |
56 |
User | Count |
---|---|
247 | |
122 | |
110 | |
77 | |
72 |