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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi everyone,
I'm facing an issue with a conditional measure in my Power BI matrix visual where a specific category ("Site (Cost / Acre)") gets removed when applying dynamic calculations. Here are the details:
I have a table called Metrics with the following columns:
NormalizedValue_Measure =
IF(
OR(
SELECTEDVALUE(Metrics[Group1]) = "07. Project Cost (Original)",
SELECTEDVALUE(Metrics[Group1]) = "08. Total"
),
SUMX(Metrics, Metrics[CombinedFactor] * Metrics[IsNumeric]),
SUMX(Metrics, Metrics[IsNumeric])
)
Sitework_Normalized:
Sitework_Normalized =
CALCULATE(
[NormalizedValue_Measure],
Metrics[Category] = "200 Sitework"
)
Sitework_Acres:
Sitework_Acres =
CALCULATE(
SUM(Metrics[IsNumeric]),
Metrics[Category] = "Site - Acres"
)
Normalized_Values:
Normalized_Values =
IF(
SELECTEDVALUE(Metrics[Category]) = "Site (Cost / Acre)",
DIVIDE([Sitework_Normalized], [Sitework_Acres], 0),
[NormalizedValue_Measure]
)
When I place the Normalized_Values measure in the matrix, the row for "Site (Cost / Acre)" gets removed. This happens no matter how I adjust the conditional logic in the measure. I've tried variations using SWITCH, HASONEVALUE, ISFILTERED, and REMOVEFILTERS, but the category still disappears when it should be present.
I need the measure to:
Any guidance on how to resolve this issue would be greatly appreciated!
Solved! Go to Solution.
Thank you @Anonymous , let's break it down now.
Usually these issues arise from what you have in the data and not necessarily because of incorrect DAX. So I would start there. However that is not to say that once you figure out what your data is on a row by row level, your DAX code wont change.
Thank you @Anonymous , let's break it down now.
Usually these issues arise from what you have in the data and not necessarily because of incorrect DAX. So I would start there. However that is not to say that once you figure out what your data is on a row by row level, your DAX code wont change.
Groups 07 and 08 do not contain data corresponding to Category = "Site (Cost / Acre)". The other measures do not limit the scope, they simply are used to create the factor in order to normalize the values based on selections in some slicers.
However, I am going to accept this as a solution because I have now realized the new Cost / Acre can also be multiplied by the factor because it is the same as multiplying the cost by the factor and then dividing by acerage. Props to me for ignoring basic algebra and assuming a complex solution was needed.
Thanks for attempting to help!
Thank you very much. Glad I was able to point things out.
As a very simple solution first, can you right click "Category" in your rows card and select "Show items with no data"?
I tried that and it does show the category now (see image)
However you can see via the original matrix that there are values there before changing the measure:
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.