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
Anonymous
Not applicable

Filter only on subset of Data

I have the following base table with category and quality:

base table.png

I would like to have two filters for the quality values, one for category a and one for b. For example I'd like to filter for category a quality 2 and category b quality 1 and show the result in one table. Or be able to filter for a specific quality for category a and do not filter b at all.

I tried splitting the table and rejoining them with a calculated table but that doesn't seem to update on slicer change.

 

The result is supposed to look something like the following. I have slicers for each category and the result table basically is the union of those above which changes if I change the slicer values.

 

result.png

 

I'm relatively new to Power BI so I might have missed something fundamental, but I cannot, yet, figure it out. Any help is greatly appreciated!

 

4 REPLIES 4
harshnathani
Community Champion
Community Champion

Hi @Anonymous ,

 

Your Slicer Quality is one column in your table. 

You cannot segregate the Slicer by Category. The selection is your Slicer tells the engine to filter table by the selected quality value.

 

 

Can you let me know what is the end objective of this problem

 

Regards,

Harsh Nathani

 

 

harshnathani
Community Champion
Community Champion

Hi @Anonymous ,

 

You can use Slicers to show these Values. Pull 2 Slicers from the Visualization Pane and you can filter them through the slicers.

 

 

Incase you need to create a new table

 

New Table =  FILTER('Table','Table'[Category] = "a" && 'Table'[Quality] = 2 || 'Table'[Category] = "b" && 'Table'[Quality] = 1)

 

Regards,
Harsh Nathani

Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)

Anonymous
Not applicable

Hi @harshnathani @Pragati11 thanks for the quick reply. I updated the question to make it a bit more clear. The table looks good but I'd like to choose the values within the report and don't hardcode them in the table code.

Pragati11
Super User
Super User

Hi @Anonymous ,

 

You can try creating 2 slicers on your report:

  1. Category
  2. Quality

Try placing "Category" slicer before "Quality" slicer.

 

Now, suppose you select "a" in CATEGORY slicer, then in QUALITY slicer should have respective values in it for this category. Then select a value from QUALITY slicer to get the desired result.

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

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.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.