Forum Discussion
Dynamic chart value by clicking bar
- 1 year ago
Hi Anonymous,
You can’t get both behaviors with the same field, the slicer will always filter the chart. Best approach: remove the Week slicer or break the interaction between the slicer and the chart, so the chart remains fully clickable.
Heres How
Option 1: Remove or Decouple the Week Slicer
-
Remove the Week slicer, or
-
Make sure the bar chart visual does not interact with the slicer (use the Format tab > Edit interactions, set the slicer to “None” for the chart). This way, the bar chart will always show all weeks, and you can click any week to cross-filter the rest of the page.
Option 2: Use a Separate Week Table
-
Create a separate “Week” table (unrelated to the model) just for the slicer or the chart.
-
Use one for filtering, one for display, so the slicer selection doesn’t filter the chart visual.
-
- 1 year ago
Thankyou, kushanNa, rohit1991, and danextian, for your responses.
Hi jeongkim,We sincerely appreciate your inquiry through the Microsoft Fabric Community Forum.
Please follow the method outlined below to achieve dynamic chart selection without the Week slicer affecting it:
- Load the sales dataset containing Date, Week, Region, Product, and Sales columns.
- Create a disconnected table named Week_Disconnected.
- Use Week_Disconnected[Week] in the slicer without relating it to the main sales table.
- Build a bar chart using SalesData[Week] and SalesData[Sales].
- Navigate to Format > Edit interactions, select the slicer, and set its interaction with the bar chart to None.
- Create a measure named Selected Week Sales.
- Add a card or table visual to display the Selected Week Sales measure.
Please find attached the screenshot and sample PBIX file for your reference:
We trust that the information provided will assist in resolving your issue. Should you have any further queries, please do not hesitate to reach out to the Microsoft Fabric Community.
Thank you.
Have you tried disabling the visual interaction between Week slicer and the column chart?