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!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
I hope someone can explain why the filter within my measure it not included in other visuals. Some sample sales data is added.
I created a measure which computes the number of blue items:
It does work when i apply a filter 'Color = Blue' directly on the pie chart visual
Some sample data:
Customer | SaleDate | Product | Amount | Color |
A | 1-1-2020 | bike | 3 | Blue |
B | 1-1-2020 | helmet | 1 | Red |
C | 1-1-2020 | bike | 3 | Red |
D | 1-1-2020 | glasses | 1 | Red |
A | 1-1-2020 | bike | 1 | Red |
C | 1-1-2021 | helmet | 3 | Red |
D | 1-1-2021 | bike | 2 | Blue |
A | 1-1-2022 | glasses | 2 | Blue |
E | 1-1-2022 | bike | 1 | Blue |
C | 1-1-2022 | helmet | 4 | Red |
A | 1-1-2022 | bike | 2 | Blue |
B | 1-1-2023 | glasses | 4 | Blue |
F | 1-1-2023 | bike | 1 | Blue |
C | 1-1-2024 | helmet | 3 | Blue |
D | 1-1-2024 | bike | 3 | Blue |
A | 1-1-2024 | glasses | 2 | Red |
Thanks in advance!
Solved! Go to Solution.
Hi @Hubanl
This is by design. The filters defined in measures cannot interact with other visuals. This is because these filters only take effect in the current context of a visual where the measure is placed. While in other visuals, the context is different and independent.
Slicers, filters in Filter Pane and filter interaction between visuals can pass filters on other visuals. These filters can be thought of as external filters. If you want one filter to affect multiple visuals through interactive behavior, we recommend using these external filters.
Tour the report Filters pane - Power BI | Microsoft Learn
Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!
Hi,
In the tooltip, you will not see the condition of blue but if you have dragged the same measure to the first visual as well, then the figures should be correct.
@Hubanl , Use a slicer for this and select blue
Proud to be a Super User! |
|
Well in this case that is probably the best option. However, this is just a simplified example. I got measures with multiple filters and i want it to be interactive with other visuals. Is that possible with a calculated measure?
Hi @Hubanl
This is by design. The filters defined in measures cannot interact with other visuals. This is because these filters only take effect in the current context of a visual where the measure is placed. While in other visuals, the context is different and independent.
Slicers, filters in Filter Pane and filter interaction between visuals can pass filters on other visuals. These filters can be thought of as external filters. If you want one filter to affect multiple visuals through interactive behavior, we recommend using these external filters.
Tour the report Filters pane - Power BI | Microsoft Learn
Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!