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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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")

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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")

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.