Forum Discussion
How to use Text column in Measure without aggregating
- Anonymous2 years ago
Hi sjelting ,
Please try:
Measure = IF ( NOT ISFILTERED ( 'Table'[Column1] ), IF ( MAX ( 'Table'[Column2] ) IN { "c", "d" }, MAX ( 'Table'[Column1] ), BLANK () ), IF ( ISFILTERED ( 'Table'[Column1] ), MAX ( 'Table'[Column1] ) ) )The final visual effect is shown below:
pbix file is attached.
If you have any further questions please feel free to contact me.
Best Regards,
Yang
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
Hi sjelting ,
Please try:
Measure =
IF (
NOT ISFILTERED ( 'Table'[Column1] ),
IF (
MAX ( 'Table'[Column2] ) IN { "c", "d" },
MAX ( 'Table'[Column1] ),
BLANK ()
),
IF ( ISFILTERED ( 'Table'[Column1] ), MAX ( 'Table'[Column1] ) )
)
The final visual effect is shown below:
pbix file is attached.
If you have any further questions please feel free to contact me.
Best Regards,
Yang
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
This measure uses the values hard coded., but they change over time, so that is no solution