Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! 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! | |
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
102 | |
68 | |
46 | |
37 | |
37 |