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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

dynamic title

Hello,

 

I am using a dynamic title like the one below and I would like to add a carriage return and line feed so the selected date appears under the text.  

 

Title2 = "Hit Rate " & "\n\r " & format([Selected date], "yyyy-mm-dd")
 
What I would like to see in the visualization, if the selected date = today  is:
 
                               Hit Rate
                             2020-03-11

 

Regards,

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

Try line

"Hit Rate " & NewLine & format([Selected date], "yyyy-mm-dd")


"Hit Rate " & unichar(10) & format([Selected date], "yyyy-mm-dd")

 

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

Try line

"Hit Rate " & NewLine & format([Selected date], "yyyy-mm-dd")


"Hit Rate " & unichar(10) & format([Selected date], "yyyy-mm-dd")

 

Anonymous
Not applicable

Here's what I have done.

 

Title2 = "Hit Rate " & UNICHAR(13) & UNICHAR(10) & format([Selected date], "yyyy-mm-dd")
 
and in the format section, under title, I have set word wrap to off.
 
Thank you very much

 

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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