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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
JinDR
Regular Visitor

Lookup Function with Multiple results

I have a table which has multiple values such as below:

ClientReasonDate
AErrorJul 1
AWrong DataJul 8
BErrorJul 10
BWrong InputJul 20
BWrong DataJul 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.

 

2 REPLIES 2
Subash_Govind1
Frequent Visitor

@JinDR  , By using the below measure the unique reasons can be displayed.

Measure = CONCATENATEX('Client','Client'[Reason],"
")Client.PNG
bhanu_gautam
Super User
Super User

@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.




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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