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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.