Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I have a table similar to this
Staff Name | Signature Deficiency | Document Deficiency | photo deficiency | payment deficiency |
John | 2 | 0 | 5 | 2 |
Ronald | 0 | 2 | 3 | 4 |
Tolkien | 5 | 1 | 2 | 0 |
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!
Solved! Go to Solution.
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.
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"
)
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.
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
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
23 | |
7 | |
7 | |
6 | |
6 |
User | Count |
---|---|
27 | |
12 | |
10 | |
9 | |
6 |