Forum Discussion
Making a dummy field so 'First Entry' title is descriptive
- 4 years ago
Hi samuella ,
According to your description, you can create a measure that displays the corresponding value when the field in the slicer is selected, otherwise it displays "All Category". See below:
Text_slicer = VAR sel_ = IF ( HASONEVALUE ( 'Table'[Category1] ), VALUES ( 'Table'[Category1] ), 0 ) RETURN IF ( sel_ = 0, "ALL Category", sel_ )
If the problem is still not resolved, please provide detailed error information and a screenshot of the desired result. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi samuella ,
According to your description, you can create a measure that displays the corresponding value when the field in the slicer is selected, otherwise it displays "All Category". See below:
Text_slicer =
VAR sel_ =
IF ( HASONEVALUE ( 'Table'[Category1] ), VALUES ( 'Table'[Category1] ), 0 )
RETURN
IF ( sel_ = 0, "ALL Category", sel_ )
If the problem is still not resolved, please provide detailed error information and a screenshot of the desired result. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.