Forum Discussion
AndySmith
5 years agoHelper III
Switch Selected Values - conditional formatting
Hi all I have a Switch selected values expression to toggle between various user selected MTD measures. However some of these measures are $ and some will be %. Is it possible to combine the Form...
- 5 years ago
Hi AndySmith ,
Is below what you need?
If so,create a measure similarly as below:
MTD = SWITCH(SELECTEDVALUE('Table'[Index]), 5,FORMAT([Calc - Revenue - MTD],"percent"), "$"&[Calc - Revenue - MTD])For the related .pbix file,pls see attached.
Best Regards,
KellyDid I answer your question? Mark my post as a solution!
v-kelly-msft
5 years agoCommunity Support
Hi AndySmith ,
Is below what you need?
If so,create a measure similarly as below:
MTD = SWITCH(SELECTEDVALUE('Table'[Index]),
5,FORMAT([Calc - Revenue - MTD],"percent"),
"$"&[Calc - Revenue - MTD])
For the related .pbix file,pls see attached.
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!