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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.