I have a DAX function that pulls in multiple strings of text (from multiple columns) into one cell. But on display I want to have a line break in between the header and the body of the paragraph. Is there a way to code in a line break with DAX? FYI, I'm using Power BI for this. Thanks!
In BI Desktop, just type alt-enter in your DAX formula to add new line For example:
CONCATENATEX(Project, ProjectName & ":" & [some-measure],
//new line in parameter delimiter
",
"
)
Using DAX String = [field A] & UNICHAR(10) & [field B]
Example: Field A contains text: January 11, 2018 Field B contains text: Happy Birthday Elvis
This will return:
January 11, 2018
Happy Birthday Elvis
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With