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
MikeModaff
New Member

Dynamically Filter Visualization Based On Look-Up Table

Hi Everyone,

This is my first post and I'm new to PowerBi so please excuse any lack of understanding on my part!

I have 2 data tables that I'm building my report off of, we'll call them:

1. Data_Dump_Table

2. Look_Up_Table

Table 1 contains metrics on many different products, and Table 2 contains the filters I would want to use for my visualizations depending on which product is selected. See example tables below.

The report itself would contain 2 visualization (line charts), 1 for each metric, and a dropdown box.

 

Table 1 Data_Dump_Table

Product NameItem NumberLevelMetric 1Metric 2
A11001050
A12001560
A21001151
A22001758
B11501253
B12251958
B2150955
B22251661

 

Table 2 Look_Up_Table

Product NameMetric 1 LevelMetric 2 Level
A100200
B150225

 

The plan is:

- I select a product in the dropdown box (Example, product "A" is selected)

   - Visualization 1: Now contains all product A Metric 1 data

   - Visualization 2: Now contains all product A Metric 2 data

- Based on Table 2, I want to further filter down my two visualizations

   - Visualization 1: Should only contain Metric 1 data at "Level" 100

   - Visualization 2: Should only contain Metric 1 data at "Level" 200
And you can see that the "Level" which needs to be filtered at changes based on which Product is chosen.

 

So, I want to dynamically filter my visualizations based on a look up table.

 

Any help would be greatly appreciated, thank you!

5 REPLIES 5
lbendlin
Super User
Super User

"

I select a product in the dropdown box (Example, product "A" is selected)

   - Visualization 1: Now contains all product A Metric 1 data

   - Visualization 2: Now contains all product B Metric 2 data "

 

Please explain the reasoning behind the last statement.

Hi, Sorry it was a typo which I've now edited!

Both visuals will show "Product A" data. 

Have you worked with SELECTEDMEASURE  yet?

I'll look into it, thanks! Could you give an example of how it could be used in my situation?

After thinking about it some more that may actually be overkill.  See attached for a column based approach.

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.