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 there,
I perused the forum but could find what I'm looking at.
I have this data:
Name | Qty | Date |
Peter | 10 | 01/04/2024 |
Tom | 2 | 30/03/2024 |
Sam | 5 | 15/03/2024 |
Peter | 6 | 02/01/2024 |
Tom | 8 | 14/03/2024 |
Sam | 40 | 27/02/2024 |
So I have in pbi a matrix with
Rows: Name
Values: Min of Qty
But I would like to get as well the date the Min Qty occured. And I have no idea how to gt that. Tried different solutions but without sucess.
Name | Min Qty | Date |
Peter | 6 | 02/01/2024 |
Tom | 2 | 30/03/2024 |
Sam | 5 | 15/03/2024 |
Thanks for the help 😉
Solved! Go to Solution.
try this measure,
Min date =
VAR _minQty = MIN('Table 1'[Qty])
VAR _minDate = CALCULATE(
MIN('Table 1'[Date]),'Table 1'[Qty] = _minQty)
RETURN _minDate
try this measure,
Min date =
VAR _minQty = MIN('Table 1'[Qty])
VAR _minDate = CALCULATE(
MIN('Table 1'[Date]),'Table 1'[Qty] = _minQty)
RETURN _minDate
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 |
---|---|
109 | |
105 | |
88 | |
75 | |
67 |
User | Count |
---|---|
123 | |
112 | |
95 | |
83 | |
73 |