Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
y5famfnatudu
Resolver I
Resolver I

Showing Ranks and their values in cards

Hello,

I hope you can help me here, please.

How can I show Ranks and their values in Cards?

For example, I have the following table:

y5famfnatudu_0-1676029226098.png

In this report, I'm ranking only the "US" employees.
How can I show different card visuals per each rank?

For example:

y5famfnatudu_1-1676029581665.png

Your help is so much appreciated.

Best regards,

Simon

1 ACCEPTED SOLUTION

@y5famfnatudu 

I meant all measures of each employee are in one card? However please try

Rank1 =
VAR ThisRank = 1
VAR T1 =
ADDCOLUMNS (
VALUES ( 'Table'[Employee] ),
"@Rank", [Rank],
"@Revenue", [Revenue],
"@LY", [LY]
)
VAR T2 =
FILTER ( T1, [@Rank] = ThisRank )
RETURN
CONCATENATEX (
T2,
[Employee] & UNICHAR ( 10 ) & "Rank " & [@Rank]
& UNICHAR ( 10 ) & [@Revenue]
& UNICHAR ( 10 ) & "Revenue"
& UNICHAR ( 10 ) & [@LY]
& UNICHAR ( 10 ) & "LY"
)

View solution in original post

6 REPLIES 6
tamerj1
Super User
Super User

Hi @y5famfnatudu 

assuming [Rank] is a measure and no duplicates in ranking then you may try

Rank1 =
VAR ThisRank = 1
VAR ThisEmplyee =
FILTER ( VALUES ( 'Table'[Employee] ), [Rank] = ThisRank )
RETURN
ThisEmplyee & UNICHAR ( 10 ) & "Rank " & ThisEmplyee

Dear @tamerj1 

Thank you so much, but my problem is not getting the name of the employee, rather the other values (i.e. Revenue and LY)

Your help is so much appreciated.

 

Best regards,

Simon

@y5famfnatudu 

All of them in one card?

@tamerj1 

No, a measure can be created for each, that shouldn't be a problem at all.

@y5famfnatudu 

I meant all measures of each employee are in one card? However please try

Rank1 =
VAR ThisRank = 1
VAR T1 =
ADDCOLUMNS (
VALUES ( 'Table'[Employee] ),
"@Rank", [Rank],
"@Revenue", [Revenue],
"@LY", [LY]
)
VAR T2 =
FILTER ( T1, [@Rank] = ThisRank )
RETURN
CONCATENATEX (
T2,
[Employee] & UNICHAR ( 10 ) & "Rank " & [@Rank]
& UNICHAR ( 10 ) & [@Revenue]
& UNICHAR ( 10 ) & "Revenue"
& UNICHAR ( 10 ) & [@LY]
& UNICHAR ( 10 ) & "LY"
)

Perfect @tamerj1 , that's exactly what I was looking for. Thank you so much.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.