Forum Discussion
Matrix/Table visual question
- 4 years ago
Hi Anonymous ,
Please create the new table and inactive relationship:
MatrixColumns = UNION ( VALUES ( 'Table'[Date] ), { "Target" } )Then use the measure:
Measure = IF ( MAX ( MatrixColumns[Date] ) = "Target", [Target], CALCULATE ( SUM ( 'Table'[Value] ), USERELATIONSHIP ( 'Table'[Date], MatrixColumns[Date] ) ) )If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Anonymous ,
Please create the new table and inactive relationship:
MatrixColumns =
UNION ( VALUES ( 'Table'[Date] ), { "Target" } )
Then use the measure:
Measure =
IF (
MAX ( MatrixColumns[Date] ) = "Target",
[Target],
CALCULATE (
SUM ( 'Table'[Value] ),
USERELATIONSHIP ( 'Table'[Date], MatrixColumns[Date] )
)
)
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.