Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
I don't know how to attach the sample powerbi file that I made up for this example; I can't post real data.
I'm able to identify the max sales but need to be able to also extract the date of the sales. Note the Total Sales is based on a measure - it's not in the row level data of the table to identify.
Measure to get the total sales =
Solved! Go to Solution.
HI @lasmithfla,
You can try to use summarize and max functions to achieve your requirement:
MaxSales =
VAR summary =
SUMMARIZE (
ALLSELECTED ( SalesTable ),
[Date],
"Total", SUM ( SalesTable[TotalSales] )
)
RETURN
MAXX ( FILTER ( summary, [Total] = MAXX ( summary, [Total] ) ), [Date] )
Regards,
Xiaoxin Sheng
HI @lasmithfla,
You can try to use summarize and max functions to achieve your requirement:
MaxSales =
VAR summary =
SUMMARIZE (
ALLSELECTED ( SalesTable ),
[Date],
"Total", SUM ( SalesTable[TotalSales] )
)
RETURN
MAXX ( FILTER ( summary, [Total] = MAXX ( summary, [Total] ) ), [Date] )
Regards,
Xiaoxin Sheng
I think that the MaxSales measure looks a bit overcomplicated.
--
Try putting date and TotalSales measure in a table visual. Create a ranking measure similar to this:
MeasureRank =
RANKX(ALL(SalesTable[Date]), [TotalSales])
and put the MeasureRank in a visual filter and set it to 1.
For simple visuals like this, a measure filter can work.
---
If you post your data as text next time, you'll get a faster answer.
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 64 | |
| 51 | |
| 46 | |
| 23 | |
| 19 |
| User | Count |
|---|---|
| 138 | |
| 111 | |
| 50 | |
| 33 | |
| 29 |