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.
I have a table which has multiple values such as below:
Client | Reason | Date |
A | Error | Jul 1 |
A | Wrong Data | Jul 8 |
B | Error | Jul 10 |
B | Wrong Input | Jul 20 |
B | Wrong Data | Jul 22 |
Is it possible for card visual lookup that would display all reasons when I look up a client?
i.e.
Search Client Name: B
Card shows: Error
Wrong Input
Wrong Data
Thanks in advance.
@JinDR , By using the below measure the unique reasons can be displayed.
@JinDR Create a new table that will hold the unique reasons for each client.
UniqueReasons =
DISTINCT(
SELECTCOLUMNS(
YourTableName,
"Client", YourTableName[Client],
"Reason", YourTableName[Reason]
)
)
Create a card visual and set it up to display the reasons.
Add a slicer to your report and set it to filter by the client.
Add a card visual to your report.
Set the card visual to display the Reason field from the UniqueReasons table.
Ensure the card visual is filtered by the slicer selection.
Proud to be a Super User! |
|
User | Count |
---|---|
22 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
13 | |
11 | |
9 | |
6 |