March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I have this measure as below.
I have a doubt that your measure is not respecting the filtering context and accidentally resetting or overriding it.
For example, when calculating Red Count, Amber Count, and Green Count, ensure that they properly respect the filter context:
VAR RedCount = CALCULATE([Red Count], KEEPFILTERS(YourTable))
VAR AmberCount = CALCULATE([Amber Count], KEEPFILTERS(YourTable))
VAR GreenCount = CALCULATE([Green Count], KEEPFILTERS(YourTable))
Since the measure is being used in a matrix visual, try explicitly defining how the matrix should interact with other visuals.
You can manage the filtering behavior under the "Edit Interactions" options in Power BI.
Since you mentioned that using a calculated column resolves the bypassing issue but doesn't display the image correctly, this suggests the dynamic nature of the measure might be part of the problem. While calculated columns lack flexibility in filtering, a workaround could be to precalculate values or store them in a way that still allows for dynamic rendering without bypassing.
Alternatively, you can create calculated columns for Red Count, Amber Count, and Green Count and a measure for the SVG part, keeping it separate from the counts themselves.
Red Count, Amber Count, and Green Count are not causing the issue actually, when i return total count or either of them instead of SVG it do not causes the issue but when i return any static valu like max width,SVG and all it causes the bypassing.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
87 | |
87 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |