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.
I am creating a DAX column to provide specific body text in an email. (see below) I would like to get breaks in the email body, but everything I have tried does not work. Does DAX have a function to add a line break in text?
Solved! Go to Solution.
Thanks - that works great in desktop. But in the email body this is what I get. I don't think there is a way to format the email body with DAX. And we no longer need this solution - but I do really appreciate the community trying to help!
Please try this:
Measure =
var break_ = "
"
return "test"&break_&"test"&break_&"abcd"
Try pressing Alt-Enter between the double quotation marks.
Thanks - that works great in desktop. But in the email body this is what I get. I don't think there is a way to format the email body with DAX. And we no longer need this solution - but I do really appreciate the community trying to help!
Hey @KelliKnitsAlot ,
did you try to make new lines with Shift + Enter:
my Text = "Hello,
this is a new line!
It will continues in the new line after pressing Shift + Enter
Best regards
DAX"
I can add new lines in DAX using shift + enter, but when I tried to add that to the DAX (see below), there are no line breaks in the email body. I am not sure I can get formatting in the body of the email. Also tried &UNICHAR(10)& with no success.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
100 | |
80 | |
64 | |
58 |
User | Count |
---|---|
148 | |
111 | |
93 | |
84 | |
66 |