This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
I need to visulize a card with the max of the total profit for each project No,but I need to visulize the project number not the max profit vlaue itself
this is a sample of the data
| ProjectNo | Category | Profit |
| 1 | Lic | 1000 |
| 1 | Dev | 1000 |
| 2 | Lic | 2000 |
| 2 | Lic | 1000 |
| 2 | Dev | 1000 |
This how I want to display the card
| "The Max project Number profit is" | 2 |
Appricaite your help
Solved! Go to Solution.
Hi @m_anees
Place this measure in a card visual
Measure =
VAR aux_ =
TOPN ( 1, ALL ( Table1[ProjectNo] ), CALCULATE ( SUM ( Table[Profit] ) ) )
RETURN
"The Max project Number profit is " & MAXX ( aux_, [ProjectNo] )
Please mark the question solved when done and consider giving a thumbs up if posts are helpful.
Contact me privately for support with any larger-scale BI needs, tutoring, etc.
Cheers
Hi @m_anees
Place this measure in a card visual
Measure =
VAR aux_ =
TOPN ( 1, ALL ( Table1[ProjectNo] ), CALCULATE ( SUM ( Table[Profit] ) ) )
RETURN
"The Max project Number profit is " & MAXX ( aux_, [ProjectNo] )
Please mark the question solved when done and consider giving a thumbs up if posts are helpful.
Contact me privately for support with any larger-scale BI needs, tutoring, etc.
Cheers
Thank you so much
@m_anees , Try a measure like
measure = "The Max project Number profit is" & CALCULATE(Max(Table[Project]),TOPN(1,all(Table[ProjectNo]),calculate(Sum(Table[Profit])),DESC),VALUES(ProjectNo[ProjectNo]))
TOPN should help : https://www.youtube.com/watch?v=QIVEFp-QiOk
Thank you so much it's working
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 35 | |
| 27 | |
| 26 | |
| 22 | |
| 18 |
| User | Count |
|---|---|
| 67 | |
| 36 | |
| 32 | |
| 26 | |
| 23 |