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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Tabular model issue to add new line using UNICHAR

Hi,

 

can someone please advise how to add a line break in a tabuarl model measure.... like if we wanted to display a card with value on multiple lines as below

 

% of orders

4 / 16

25%

 

I used this DAX which returns correctly in Power BI desktop DAX 

RETURN

Numerator & "/" & Denominator

& UNICHAR ( 10 )

& IF(ISBLANK(ROUND ( DIVIDE ( Numerator, Denominator ) * 100, 0 )),0,ROUND ( DIVIDE ( Numerator, Denominator ) * 100, 0 )) & "%"

 

When I take this in visual studio for tabular model UNICHAR does not work as it is not recognized. Can someone please advise if there is an alternate way to do it. Once measues are coming from Tabular model we cannot do anything in Powrer BI desktop.

 

Many thanks

 

 

 

 

3 REPLIES 3
lbendlin
Super User
Super User

Use separate measures and separate visuals.

Anonymous
Not applicable

Hi @lbendlin  Thanks for the reply. It is not what is required as it slows down the page load. Can we do inside one measure? Is there a way?

Have a look at calculation groups.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.