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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Line break and UNICHAR DAX

Hi All,

 

I am using UNICHAR dax for line break in a measure. It's working fine in Power BI Desktop however we need to replicate same on SSAS model. But UNICHAR is not supported on SSAS yet.

 

Is there any other way I can replace UNICHAR with some other DAX? Or any other way for line break?

 

My measure: 

IF(ISFILTERED(d_OPP_Geography[Market Group]),"Market Group: "& CONCATENATEX(ALLSELECTED(d_OPP_Geography[Market Group]),d_OPP_Geography[Market Group],",")&UNICHAR(10),"")&
IF(ISFILTERED(d_OPP_Geography[Market]),"Market:"&CONCATENATEX(ALLSELECTED(d_OPP_Geography[Market]),d_OPP_Geography[Market],","))

 

Thank you,

Niket Talati

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Got to know that it's supported in SSAS 2017. 

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Got to know that it's supported in SSAS 2017. 

Anonymous
Not applicable

Did you try CHAR(10) in SSAS? Maybe the following article could help you.

 

https://bpmsbi.wordpress.com/2010/12/15/line-breaks-in-ssrs/

Anonymous
Not applicable

Hi @Anonymous,

 

Thank you for your response.

CHAR(10) is not supported in SSAS, the blog which you shared it's realted to SSRS (reporting). So I doubt it can help me since CHAR is not a DAX.

 

Regards,

Niket Talati

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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