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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anaxielia_1
New Member

Card with top 3 values for a row

Hi,

 

I have a table similar to this

 

Staff NameSignature DeficiencyDocument Deficiencyphoto deficiencypayment deficiency
John2052
Ronald0234
Tolkien5120

 

I have a slicer in the page that filters staff name. I would like to create a card/info table to show top 3 deficiency areas of selected staff.

 

For example,

 

if John selected,

 

5 Photo deficiency

2 Payment deficiency

2 Signature deficiency

 

Thanks in advance and Happy 2024 everyone!

1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

Hi @Anaxielia_1 
It would be much easier if you unpivot the table as per attached screenshots. Please refer to attached sample file for more details.

1.png2.png3.png

Card = 
IF ( 
    HASONEVALUE ( 'Table'[Staff Name] ),
    CONCATENATEX ( 
        TOPN ( 
            3,
            'Table',
            'Table'[Value]
        ),
        'Table'[Value] & " " & 'Table'[Attribute],
        UNICHAR ( 10 ),
        'Table'[Value],
        DESC
    ),
    "Select staff to see deficiencies"
)

View solution in original post

2 REPLIES 2
tamerj1
Super User
Super User

Hi @Anaxielia_1 
It would be much easier if you unpivot the table as per attached screenshots. Please refer to attached sample file for more details.

1.png2.png3.png

Card = 
IF ( 
    HASONEVALUE ( 'Table'[Staff Name] ),
    CONCATENATEX ( 
        TOPN ( 
            3,
            'Table',
            'Table'[Value]
        ),
        'Table'[Value] & " " & 'Table'[Attribute],
        UNICHAR ( 10 ),
        'Table'[Value],
        DESC
    ),
    "Select staff to see deficiencies"
)

Thank you very much. Works like charm and as needed.

 

Cheers

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.