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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

Create a Slicer based on values from 2 different tables

Hi Everyone,

I have created the follwing Bar Chart based on values from 2 different tables.
Dark blue is from Table1 and Light Blue is from Table2 and the DateTable is separate and I have made the relationship of these 2 tables with DateTable

Now, I wanted to create s slicer based on these two different values. For example; Slicer1 = Total sales, Slicer2 = Total instock
If I click on Total sales, it shows only the Dark blue bar chart and if I click on Total instock it shows only light blue one and if I do not click anywhere it must shows the below one (Combine one)


dawoodrana99_1-1661954629924.png

Thank you

2 REPLIES 2
v-cazheng-msft
Community Support
Community Support

Hi @Anonymous,

 

You may consider Field parameter. It can help you make your visual axis dynamically change based on the selection in the slier. For more details, you could refer to the official document and the blog from power bi community support Yalan Wu.

Let report readers use field parameters to change visuals (preview) - Power BI | Microsoft Docs

Field Parameters in Power BI - Microsoft Power BI Community

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please let me know. Thanks a lot!

 

Best Regards,

Community Support Team _ Caiyun

daXtreme
Solution Sage
Solution Sage

Use bookmarks for this or Field Parameters. Here's a video about everything on bookmarks.

Helpful resources

Announcements
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 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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