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 experts,
I want to extract the date and put it into a card visual. I have calculated a ranking:
Ranking dia = RANKX(ALLSELECTED(Users[DtEvent]); CALCULATE(SUM(Users[QtMinutes]))) Max date = var a = [Ranking dia] Return CALCULATE(MAX(Users[DtEvent]); FILTER(Users; a = 1) )
From this table I want to extract the date "21/07/2019", in my measures I have calculated "Max date" but is getting always the max date (27/07/2019).
What I'm missing?
Solved! Go to Solution.
Hi @Anonymous ,
I created a measure you can have a try.
Measure = var ma = MAX(Users[QtMinutes]) return CALCULATE(MAX(Users[DtEvent]),FILTER(Users,Users[QtMinutes] = ma))
Best Regards,
Xue
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
I created a measure you can have a try.
Measure = var ma = MAX(Users[QtMinutes]) return CALCULATE(MAX(Users[DtEvent]),FILTER(Users,Users[QtMinutes] = ma))
Best Regards,
Xue
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 |
---|---|
110 | |
97 | |
78 | |
63 | |
55 |
User | Count |
---|---|
143 | |
109 | |
89 | |
84 | |
66 |