Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have matrix looklike in picture, where each Application have multiple ID and Status. Is it posible to sort Desc of number of usage by last date. For example, If 6 Jan is last date sort by number of usage Desc of 6 Jan that should be App B ID 003 status zzz yyy xxx is top row follow by other status.
Solved! Go to Solution.
@Mokegubshook Create a measure to find the last date in your dataset.
LastDate = MAX('YourTable'[DateColumn])
Create another measure to calculate the number of usages on the last date. You can use the following DAX formula:
UsageOnLastDate =
CALCULATE(
SUM('YourTable'[UsageColumn]),
'YourTable'[DateColumn] = [LastDate]
)
Add the necessary fields (App, ID, Status1, Status2, Status3, etc.) to your matrix visual.
Add the UsageOnLastDate measure to the values section of the matrix.
Sort the matrix by the UsageOnLastDate measure in descending order.
Proud to be a Super User! |
|
@Mokegubshook Create a measure to find the last date in your dataset.
LastDate = MAX('YourTable'[DateColumn])
Create another measure to calculate the number of usages on the last date. You can use the following DAX formula:
UsageOnLastDate =
CALCULATE(
SUM('YourTable'[UsageColumn]),
'YourTable'[DateColumn] = [LastDate]
)
Add the necessary fields (App, ID, Status1, Status2, Status3, etc.) to your matrix visual.
Add the UsageOnLastDate measure to the values section of the matrix.
Sort the matrix by the UsageOnLastDate measure in descending order.
Proud to be a Super User! |
|
Your solution is working!
I have one more question, I also have month filter. I want to show the highest usage in the month I selected. I have no idea to combine with your measure. Is it possible?
Thank You so much!
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
24 | |
9 | |
7 | |
6 | |
6 |
User | Count |
---|---|
29 | |
11 | |
11 | |
10 | |
6 |