Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register 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.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 55 | |
| 40 | |
| 35 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 71 | |
| 70 | |
| 38 | |
| 35 | |
| 23 |