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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Apple08
Helper IV
Helper IV

Dynamic title

Hi all

 

I would like to have a dynamic title for a table, the title includes the dates and a code when users select from slicer.  I got the formula below to add in the week ending Friday date and it works (however I don't quite understand the UNICHAR (10) and I just copied it from Google and it seems works).  Now I need to add in the code and I have issue as the code is a combination of number and character, e.g. 2122AB

 

Please could anyone help me how to edit the formula below:

 

Titel = "Report - "& SELECTEDVALUE(Dates[Week Ending Friday]) & UNICHAR(10) & "update at "& Selectedvalue('Code[report_code]) & UNICHAR (10)
 
Many thanks.
4 REPLIES 4
Anonymous
Not applicable

Hi @Apple08 ,

 

I found that you have solved the issue in this post:

vstephenmsft_0-1636536277498.png

Can you mark the useful reply to make this thread closed? More people will benefit.😀

 

 

Best Regards,

Stephen Tao

 

Anonymous
Not applicable

Hi @Apple08 ,

 

About UNICHAR(), it returns the Unicode character referenced by the numeric value. Refer to UNICHAR function (DAX) - DAX | Microsoft Docs.

 

About dynamic titles with multi filters or slicers, refer to Dynamic titles with multiple slicers or filters in Power BI - YouTube.

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

YukiK
Impactful Individual
Impactful Individual

I think you'd get more answers if you post this on Desktop section of this community than Power Query since your question is pretty much around DAX.

 

I myself am not familiar with UNICHAR() but I've only successfully used in a calculated column, so maybe modifying your measure to a calc column might help.

Thank you, I will re-post it on the Desktop section.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.