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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
AFDCO
Frequent Visitor

Label Break lines

Is there any way to make a kpi label to split into two lines? maybe a unicode breakline or something similar?

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @AFDCO 
Unfortunately, all string manipulation, including unichar, only works on values, not labels or titles.
I know of only one way to achieve your goal: combine two cards.
First, regular with your measure is:

Ritaf1983_0-1688362070803.png

Second, your label.
Create a measure for the label like:

Test label = "Hello "& unichar(10)&"World"

(Unichar is for the break row)

Put it on another card and switch off the label.

Ritaf1983_1-1688363097729.png

Combine 2 cards and group them

Ritaf1983_2-1688363236918.png

Link to the sample file 

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickl

 

View solution in original post

1 REPLY 1
Ritaf1983
Super User
Super User

Hi @AFDCO 
Unfortunately, all string manipulation, including unichar, only works on values, not labels or titles.
I know of only one way to achieve your goal: combine two cards.
First, regular with your measure is:

Ritaf1983_0-1688362070803.png

Second, your label.
Create a measure for the label like:

Test label = "Hello "& unichar(10)&"World"

(Unichar is for the break row)

Put it on another card and switch off the label.

Ritaf1983_1-1688363097729.png

Combine 2 cards and group them

Ritaf1983_2-1688363236918.png

Link to the sample file 

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickl

 

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.