Forum Discussion
Hide empty column and replace null by zero in matrix
- 4 years ago
Hi mahsy ,
Maybe the formula is not standardized enough, try this one:
Measure = CALCULATE ( SUM ( 'Table'[Value] ), FILTER ( ALLSELECTED ( 'Table' ), 'Table'[AXE1] = MAX ( 'Table'[AXE1] ) && 'Table'[AXE2] = MAX ( 'Table'[AXE2] ) ) )This can get the result by your sample.
I attach my sample below for reference.
Best Regards,
Community Support Team _ kalyjIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
mahsy , Try a measure like
calculate(sum(Table[Value]), filter(allselected(Table), Table[AXE1] = max(Table[AXE1] ) && Table[AXE2] = max(Table[AXE2] ) ) )
Hi, thank you for your response !
I get this error with your formula.
- v-yanjiang-msft4 years agoCommunity Support
Hi mahsy ,
Maybe the formula is not standardized enough, try this one:
Measure = CALCULATE ( SUM ( 'Table'[Value] ), FILTER ( ALLSELECTED ( 'Table' ), 'Table'[AXE1] = MAX ( 'Table'[AXE1] ) && 'Table'[AXE2] = MAX ( 'Table'[AXE2] ) ) )This can get the result by your sample.
I attach my sample below for reference.
Best Regards,
Community Support Team _ kalyjIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.