Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi all,
I'm a Power BI beginner and I'm looking for a duration between two data records in a list (a data record for each row)
I tried this
VAR DateEvent = SELECTEDVALUE(Ecaux[Date])
VAR Prev_DateEvent = CALCULATE ( MAX ( Ecaux[Date] ); FILTER ( ALL ( Ecaux[Date] ); Ecaux[Date] < DateEvent) )
return Prev_DateEvent
But this measure is empty, and i don't understand what is my mistake. I think my filter is not correct, but i don't know why.
Would you have an advice for me?
Thanks in advance
Solved! Go to Solution.
@Nouche ,
Just use ALL ( Ecaux ) instead.
@Nouche ,
Just use ALL ( Ecaux ) instead.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
106 | |
94 | |
77 | |
65 | |
53 |
User | Count |
---|---|
147 | |
106 | |
104 | |
87 | |
61 |