Forum Discussion
JinDR
1 year agoFrequent Visitor
Lookup Function with Multiple results
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 ...
- Anonymous1 year ago
JinDR , By using the below measure the unique reasons can be displayed.
Measure = CONCATENATEX('Client','Client'[Reason],"")
bhanu_gautam
1 year agoSuper 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.