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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello everyone,
I am trying to show max value and max value label on card. I did a visualization like below.
I want to print the maximum number of 541 in this visualization and its label on card. I wrote a formula like below to get 541. But the label is wrong.
@szrirem ,
modify and try this measure based on you data,
Max sales by segment =
VAR _maxX = MAXX(
VALUES(financials[Segment]),
CALCULATE([Sum of Sales]))
VAR _tempTable =
SUMMARIZE(
financials,
financials[Segment],"@Sales",SUM(financials[ Sales])
)
VAR _result = CALCULATE(
SELECTEDVALUE(financials[Segment]),FILTER(_tempTable,[@Sales] = _maxX))
RETURN _result
Thanks,
Arul
Hello @szrirem ,
Try adding the measure you made along with the dimension you're using in a multi-row card.
If I answered your question, please mark my post as solution so it would appeare to others, Appreciate your Kudos 👍
Proud to be a Super User! | |
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 46 | |
| 42 | |
| 23 | |
| 18 |
| User | Count |
|---|---|
| 193 | |
| 123 | |
| 99 | |
| 67 | |
| 49 |