Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
i have two datasets and same is referring in the stacked column chart and i need to filter the one dataset with slicer without affecting the other dataset in the same visual.While filtering columns which are from one dataset its should filter the respective values without affecting the other columns in the Stacked column chart.
Solved! Go to Solution.
You have to aplly All filter on different table where you calculted measure is created.
I hope This might help!
I'm thinking you might need a slicer from a disconnected table. But there isn't enough information available and no sample data and expected result from the sample data is provided so that's only an educated guess. If you want better answers, please provide the information requested. Sample data must be something we can copy-paste to Excel (not an image). https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523
Try this video . I think this is what you need.
https://www.youtube.com/watch?v=DGRCLcfUHM4&t=484s
https://www.youtube.com/watch?v=40AZos5hjko&t=316s
https://www.youtube.com/watch?v=N_DJTWrQhKw
https://www.youtube.com/watch?v=minWuV1ClQE
I think with little changes in dax you can achieved your senario.
Above videos are based on period comparison.
I hope I answered your question!
You have to aplly All filter on different table where you calculted measure is created.
I hope This might help!
In Power BI, slicers typically affect all visuals on a page that share relationships with the slicer’s field. To isolate the effect of a slicer to only specific columns or datasets in a chart, you need to:
• Use DAX measures instead of raw fields.
• Leverage relationships or `USERELATIONSHIP` to control filtering.
2. Steps to Implement
Step 1: Ensure Proper Data Modeling
• If your two datasets are in separate tables, ensure they are related through a common key (e.g., Date, Product ID). If no relationship exists, create one in the Model View.
• If both datasets are in the same table, ensure the columns you want to filter are clearly distinguishable.
Step 2: Create Separate Measures for Each Dataset
Instead of directly using columns from your datasets in the chart, create measures for each dataset. For example:
Measure_Dataset1 =
CALCULATE(
SUM('Dataset1'[Value]),
ALL('Dataset2') -- Ignores Dataset2 filtering
)
Measure_Dataset2 =
CALCULATE(
SUM('Dataset2'[Value]),
ALL('Dataset1') -- Ignores Dataset1 filtering
)
Step 3: Add Slicer and Control Filtering
• Add a slicer to your report using a field from `Dataset1` (or whichever dataset you want to control).
• Use `Edit Interactions` (found under the “Format” tab) to ensure that the slicer only affects visuals tied to `Dataset1`. This prevents it from influencing visuals tied to `Dataset2`.
Step 4: Use Measures in Stacked Column Chart
• Add `Measure_Dataset1` and `Measure_Dataset2` as values in your Stacked Column Chart.
• Assign appropriate legends or categories for each measure.
hope this helps
thanks
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 133 | |
| 88 | |
| 85 | |
| 68 | |
| 64 |