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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
gkir
Advocate I
Advocate I

Selection from table and drop down list to show a chart

Hello,

 

In report I have a table, a drop down list and a line chart.

 

My data looks like this:

Category Date Value
A 2022-10-28 8
A 2022-10-27 4
A 2022-10-26 5
B 2022-10-28 7
B 2022-10-27 13
B 2022-10-26 8
D 2022-10-28 9
D 2022-10-27 11
D 2022-10-26 17
E 2022-10-28 10

 

Some categories are shown in table, for example A, B and C. But D and E categories I only want to see in drop down list menu.

However, in line chart I would like to see union of all categories selected.

For example, if I select D from drop down list and select A from table, is it possible in line chart show A and D ?

 

Now, if I select something from drop down list and then select from table, the chart is blank.

6 REPLIES 6
ThomasWeppler
Super User
Super User

It is usually best practice just to have one filter. Otherwise you are gonna get a lot of people who are confused that they cannot see everything because they have selected something in one of the filters but not the others.

I am not sure this is the answer you are looking for, but the best option would proberly be to just choose on of the filters and stick with it.

These categories of real data are very different and showing them in one filter would be more confusing. So that is why we prefer to have two different filters.

In your example you showed that both A and D are from the same colum from your dataset.

Is this the case in your report or was the dataset just an example?

Yes, they are from the same column in our real databaset too. However, the meaning of these categories are very different and that is why we want to separate them in filters but leave a possibility to compare all categories in line chart.

Ok.
You can try to create a new measure and with the All() funcktion.

Use this new measure in the table, that way you can selected the diffrent filters without changeing the table.

If you still want the table to be effected by some of the filters you can use the or ALLEXCEPT() function.

 

Could you explain what kind of data should I put in ALL() function? And this measure should be used only in the table?

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors