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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
chadkoziel
Regular Visitor

single slicer on lookup columns

This problem seems simple, but I'm struggling to find a robust solution.  I'm modelling person-to-person transactions, where a person can be either a sender or a receiver.  I need a single visual slicer that will return transactions where either the sender OR the receiver belonged to a given region.

 

I've got two tables:

 

  • Transaction ( Transaction.ID, Sender.ID, Receiver.ID, Transaction.Date, others )
  • Person ( Person.ID, Region, others )

My previous solution was:

 

  1. Load Transaction table;
  2. Join the Region on the Transaction table for the sender ( Sender.Region );
  3. Calculate a "Report.Region" column = Sender.Region;
  4. Load a second Transaction table;
  5. Join Region on the Transaction table for the receiver ( Receiver.Region );
  6. Calculate a "Report.Region" column = Receiver.Region;
  7. Append the two tables;
  8. Use Report.Region as filter;
  9. Make judicious use of summarize by distinct Transaction.ID in measures and visuals

That solution is falling apart as I attempt to create measures that use both tables (i.e. filter on Region, create stacked column chart that a) count distinct Sender.IDs that appear in Transaction Table, and b) Person.IDs in Person table that don't appear in Transaction Table).

 

Any suggestions?

1 ACCEPTED SOLUTION
v-chuncz-msft
Community Support
Community Support

@chadkoziel,

 

You may refer to the following post.

https://community.powerbi.com/t5/Desktop/Use-slicer-to-a-filter-table-based-on-values-in-multiple-co...

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-chuncz-msft
Community Support
Community Support

@chadkoziel,

 

You may refer to the following post.

https://community.powerbi.com/t5/Desktop/Use-slicer-to-a-filter-table-based-on-values-in-multiple-co...

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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