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

How can make a slicer using a second table?

I have one table with many accounts which I would like a slicer to single out based on certain accounts.

i created a new table to single out the desired accounts but after joining the tables one to many and using the sclicer based on the new created table. All of the accounts still show up ( they have blank values but are still present) I want to exclude blanks from the results and I cannot find an option to do this.

 

IMG_5579.jpeg



Thank you in advance!!

1 ACCEPTED SOLUTION
v-zhangti
Community Support
Community Support

Hi, @Julian101 

 

You can try the following methods.

Measure = CALCULATE(SUM('Main Table'[expense]),FILTER(ALLEXCEPT('Created Table','Created Table'[Account]),[expense]=SELECTEDVALUE('Created Table'[expense])))

vzhangti_0-1698824818919.png

Is this the result you expect? Please see the attached document.

 

Best Regards,

Community Support Team _Charlotte

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

2 REPLIES 2
v-zhangti
Community Support
Community Support

Hi, @Julian101 

 

You can try the following methods.

Measure = CALCULATE(SUM('Main Table'[expense]),FILTER(ALLEXCEPT('Created Table','Created Table'[Account]),[expense]=SELECTEDVALUE('Created Table'[expense])))

vzhangti_0-1698824818919.png

Is this the result you expect? Please see the attached document.

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Data-estDog
Resolver II
Resolver II

If you want your table to only show accounts to type "BANK". Add a filter to the visuals highlighted here: 

DataestDog_0-1698676442223.png

 

You can do the same with a slicer. The non-BANK type accounts will not show in the slicer, but the slicer will not filter until at least value is chosen in the filter. You can force it to always choose a single value in the properties. If you truely only will ever want one value chosen. But if it is a slider, or multi select, that won't work.

Helpful resources

Announcements
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.

June 2025 community update carousel

Fabric Community Update - June 2025

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