Forum Discussion
Issue with Conditional Measure Removing Category from Matrix Visual
- 1 year ago
Thank you Anonymous , let's break it down now.
- You said that the Normalized_Values is what causing Site(Cost/Acre) to go blank. Do any of the conditions in that measure -
- [Group1] = "07. Project Cost (Original), or
- [Group1] = "08. Total" , have corresponding data for the column Site?
- Additionally, are the other measures that you calculated and are throwing into the matrix table, limiting the scope of data that the measure Normalized_Values works on?
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.
- You said that the Normalized_Values is what causing Site(Cost/Acre) to go blank. Do any of the conditions in that measure -
Thank you Anonymous , let's break it down now.
- You said that the Normalized_Values is what causing Site(Cost/Acre) to go blank. Do any of the conditions in that measure -
- [Group1] = "07. Project Cost (Original), or
- [Group1] = "08. Total" , have corresponding data for the column Site?
- Additionally, are the other measures that you calculated and are throwing into the matrix table, limiting the scope of data that the measure Normalized_Values works on?
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!
- pborah1 year agoSolution Sage
Thank you very much. Glad I was able to point things out.