Forum Discussion
Measure needing different context
- 5 years ago
You could change your calculation like this :
CALCULATE( DISTINCTCOUNT('Table'[Store]), FILTER( ALL( 'Table'[Store] ), [measureA] > 0.05 ) )
You could change your calculation like this :
CALCULATE(
DISTINCTCOUNT('Table'[Store]),
FILTER(
ALL( 'Table'[Store] ),
[measureA] > 0.05
)
)
- Anonymous5 years agoNot applicable
Hello m3tr01d ,
Thank you very much for your response.
This solved me the problem of measureB but still cannot figure out how to compute measureC, which unfortunately is my final table.
Any ideas would be much appreciated.
Best regards,
- m3tr01d5 years agoContinued Contributor
Hmm,
maybe tryCOUNTROWS( FILTER( ALL( 'Table'[Store] ), [measureA] > 0.05 ) )
At this point, I would need to do some more tests with data.
- Anonymous5 years agoNot applicable
Hello m3tr01d ,
In fact, the measure above solve both questions, the result does not change if I add or delete the Store column to the table.
I will open another post because I do not want to add noise, but I really do not understand what is happening here behind the scenes and why does this work. If anybody would be so kind as to stop by I would appreciate it.
Best regards,