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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.