Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
119 | |
102 | |
73 | |
65 | |
40 |