Forum Discussion

barragan82's avatar
barragan82
Helper II
11 months ago
Solved

Wrap Text for SELECTEDVALUE

Hello,

I have a measure that is set to display SELECTEDVALUE in a text box. However, if the value is longer than there is space in the text box, it shifts the whole value to the next line even if the value consists of several words

In the examples below, the SELECTEDVALUE is set to display over [OBJECTIVE]. The value "Empirical & Quantitative Skills Analytical" is shifted to the second line. I would like words that can fit in the first line to remain in the first line and the rest to the second as shown in the third example. Thank you for any help!

Example of what is happening:

Example of what I would like:

 

  • barragan82 

     

    I would suggest leveraging 'Card (new)' for this display.

    Create a simple Measure like 

    Text= "Overall student achievement reached or approached the level of developing for " & SELECTEDVALUE(Objectives[OBJECTIVE])
    Adjust your text size under Callout values and tweak the card formatting to make it look like Text box or even better. 

     

     

4 Replies

  • barragan82 

     

    I would suggest leveraging 'Card (new)' for this display.

    Create a simple Measure like 

    Text= "Overall student achievement reached or approached the level of developing for " & SELECTEDVALUE(Objectives[OBJECTIVE])
    Adjust your text size under Callout values and tweak the card formatting to make it look like Text box or even better. 

     

     
  • v-hashadapu's avatar
    v-hashadapu
    Community Support

    Hi barragan82 , hope you are doing great. May we know if your issue is solved or if you are still experiencing difficulties. Please share the details as it will help the community, especially others with similar issues.