Forum Discussion
Dynamicly Select Values Based on Multiple Measures
- 4 years ago
Hi zakkyang ,
Please try the following formula and show items when the measure is not blank.
Measure = VAR tab = FILTER ( ALLSELECTED ( 'Table' ), 'Table'[Product Name] = MAX ( 'Table'[Product Name] ) ) VAR Precount = MINX ( tab, 'Table'[Days Since ReLaunched] ) VAR Aftcount = MAXX ( tab, 'Table'[Days Since ReLaunched] ) RETURN IF ( Precount = -1 * Aftcount, 1 )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 zakkyang ,
Please try the following formula and show items when the measure is not blank.
Measure =
VAR tab =
FILTER (
ALLSELECTED ( 'Table' ),
'Table'[Product Name] = MAX ( 'Table'[Product Name] )
)
VAR Precount =
MINX ( tab, 'Table'[Days Since ReLaunched] )
VAR Aftcount =
MAXX ( tab, 'Table'[Days Since ReLaunched] )
RETURN
IF ( Precount = -1 * Aftcount, 1 )
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.