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
RoSch
Frequent Visitor

Card (New) text wrap issue

Hi everyone,

 

I have an issue with the new card using a text measure. It still does not wrap the text and there is no way to make it work. It work with some particular combination of:

  • Text length
  • Font
  • Visual dimension.

 

 

Font 12, Visual Dimension 468 x 795: the text is not wrapped

RoSch_0-1710407082753.png

Font 20, Visual Dimension 468 x 795: the text is wrapped

RoSch_1-1710407129709.png

Font 20, Visual Dimension 468 x 795 but different string: not wrapped

RoSch_3-1710407202833.png

Font 12, Visual Dimension 468 x 795 same string as above: not wrapped

RoSch_4-1710407266158.png

Is there a way to make it work? I need to use the card as a tooltip and need the font to be on the smaller side. These cards would be so very useful if they worked as promised with the text with formatting.

 

Many thanks,

 

R

1 ACCEPTED SOLUTION

Hi @RoSch 

As @Kishore_KVN  mentioned, you can use UNICHAR(10), and after testing, the problem you have mentioned is related to the new card visual design, perhaps you can consider an alternative.

You can craete a measure with UNICHAR(10) , then put the measure to a table visual.

e.g 

 

Measure = "A for test"&UNICHAR(10)&"B for test"&UNICHAR(10)&"C for test"

 

Output

vxinruzhumsft_0-1710485615984.png

It will always wrap and will not affected by the text size and visual  size.

 

 

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

3 REPLIES 3
Kishore_KVN
Super User
Super User

Hello @RoSch , if you want to split words as per your interest please place UNICHAR(10) in between which will help you for the line break. 

 

If this post helps, then please consider accepting it as the solution to help other members find it more quickly. Thank You!!

Hi @Kishore_KVN ,

The measure contains the breaks (as you can clearly see in the third screen shot) and it works fine with a normal card visual. However, in the normal card visual you cannot align the text to the left, which is what I would need, in addition to showing the full text.

 

Cheers,

 

R

Hi @RoSch 

As @Kishore_KVN  mentioned, you can use UNICHAR(10), and after testing, the problem you have mentioned is related to the new card visual design, perhaps you can consider an alternative.

You can craete a measure with UNICHAR(10) , then put the measure to a table visual.

e.g 

 

Measure = "A for test"&UNICHAR(10)&"B for test"&UNICHAR(10)&"C for test"

 

Output

vxinruzhumsft_0-1710485615984.png

It will always wrap and will not affected by the text size and visual  size.

 

 

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

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.