Forum Discussion
Anonymous
3 years agoNot applicable
Slicer and problem with measure
Dear gurus, am having an issue with measure providing correct result at aggregated level but missing to display values at detailed level. My database is simple: SKU Classification Quanti...
Sahir_Maharaj
Super User
3 years agoHello Anonymous,
It's possible that some SKUs are missing the Fcst CM value because they don't have any entries with that classification in the selected period.
To display all values at the SKU level, you may need to modify your measures to explicitly filter for the selected period at the SKU level, rather than relying on the ALL() function to remove the Classification filter.
Sahir_Maharaj
Super User
3 years agoSimilarly, your forecast for comparison measure could be modified as follows:
Calculate forecast for comparison =
Calculate(
SUM ('Demand Database'[Quantity]),
FILTER('Demand Database',
'Demand Database'[Classification]=SELECTEDVALUE('Demand Database'[Classification]) &&
'Demand Database'[Year]=SELECTEDVALUE('Demand Database'[Year]) &&
'Demand Database'[Month]=SELECTEDVALUE('Demand Database'[Month])
)