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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors