Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
AnSchmi
Helper II
Helper II

text box not showing alternative text of measure

Dear Team,
 
I'm able to show slicer selection in a card visual with following measure

VAR
VarSelectedValueSELECTEDVALUE('d Item Master'[Production.Possible])
Return
SWITCH(True(),
VarSelectedValue = "Production", "Production",
VarSelectedValue = "Purchase", "Purchase",
"All Products"
)

However I cannot implement the measure in a textbox. 
It is only working when I change the Result value in switch function from text to numeric value. 
 
Any ideas how I can dynamically show the slicer selection in a textbox including an alternative text when nothing is selected ? 
 
Thanks a lot in advance
Best Regards
Andreas
1 ACCEPTED SOLUTION

Dear Gao, 

thats it ! so easy and simple. 
Thanks a lot for your help and have a nice day. 

Best Regards

Andreas

View solution in original post

4 REPLIES 4
elia22gr
Helper II
Helper II

Hi v-cgao-msft,

 

In card visual my measures with text subtitle works fine but in text box or smart narrative visual not working. Have any idea why this is happening?

 

Best Regard,

Eleftheria

v-cgao-msft
Community Support
Community Support

Hi @AnSchmi ,

 

Please consider using Smart Narrative Visual. Just put the name of the measure in the box for how to calculate the value.

vcgaomsft_0-1656039830276.png

vcgaomsft_1-1656039882557.png

Best Regards,
Gao

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!

How to get your questions answered quickly -- How to provide sample data

Dear Gao, 

thats it ! so easy and simple. 
Thanks a lot for your help and have a nice day. 

Best Regards

Andreas

Hi @AnSchmi ,

 

Please consider my reply as a solution, thanks in advance.🤗

 

Best Regards,
Gao

Community Support Team

 

 

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors