Forum Discussion
Use measure as filter
- 4 years ago
Hi Anonymous ,
Measure cannot be used as a slicer, but a similar effect can be achieved in other ways:
Switch = SWITCH ( SELECTEDVALUE ( Table_2[Date] ), DATE ( 2022, 01, 01 ), [Measure1], DATE ( 2022, 01, 02 ), [Measure2], DATE ( 2022, 01, 03 ), [Measure3] )If the problem is still not resolved, please provide detailed error information and let me know immediately. 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 Anonymous ,
Measure cannot be used as a slicer, but a similar effect can be achieved in other ways:
Switch =
SWITCH (
SELECTEDVALUE ( Table_2[Date] ),
DATE ( 2022, 01, 01 ), [Measure1],
DATE ( 2022, 01, 02 ), [Measure2],
DATE ( 2022, 01, 03 ), [Measure3]
)
If the problem is still not resolved, please provide detailed error information and let me know immediately. 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.
- Anonymous4 years agoNot applicable
Thanks for your help. It was very clear. But I had some troubles with it so I decided to use a new input with the info I wanted to store in the measure and it's working.
Thanks again.