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.
Dear BI Champs,
I need help in sorting the following Transactions into Max and Min based on Qty and Total of a particular day / week / month:
Table:
Transactions Item Name Qty Price Total Date
1 Car 1 10 10 16 Feb 2018
1 Plane 1 20 20 16 Feb 2018
2 Bike 2 5 10 16 Feb 2018
3 Car 1 10 10 16 Feb 2018
3 Boat 2 20 40 16 Feb 2018
Thanking in advance.....
Regards,
M Shakir
Hi,
What result are you expecting?
Hi @shakirkhanani,
Could you please illustrate "sorting the following Transactions into Max and Min based on Qty and Total of a particular day / week / month" with examples?
Based on above sample table, what is your desired output?
Below is the result I have got based on my assumption.
Create two calculated columns
Rank = RANKX(Table_1,Table_1[Total],,DESC,Dense) Min/Max = IF ( Table_1[Rank] = 1, "Max", IF ( Table_1[Rank] = MAX ( Table_1[Rank] ), "Min", BLANK () ) )
Regards,
Yuliana Gu
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 |
---|---|
111 | |
94 | |
83 | |
67 | |
59 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |