Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
I have below shown title in my matrix . Here I want the date to be shown in
"Total Quantities Sold for the day - 12-Oct 2023" (date format to be changed). I have tried with format command but it does not work. Please help to solve the above issue.
Solved! Go to Solution.
Hi @Upali63 ,
To change the date format in your matrix title, you need to use a DAX expression that returns the formatted date as a text value. You can use the FORMAT function to do this.
"Total Quantities Sold for the day - " & FORMAT([Date], “dd-MMM-yyyy”)
This will return a text value like “Total Quantities Sold for the day - 12-Oct-2023”. You can then use this expression as the title of your matrix visual.
Alternatively, you can create a new measure that returns the formatted date as a text value.
Formatted Date = FORMAT(MAX([Date]), “dd-MMM-yyyy”)
This will return the maximum date in your data set as a text value in the format “dd-MMM-yyyy”. You can then use the following expression as the title of your matrix visual:
"Total Quantities Sold for the day - " & [Formatted Date]
Power BI Date Format Hack to Change the Date in Any Format - YouTube
How to CHANGE Date FORMAT in Power BI - YouTube
Power BI Tutorial on Date Formatting and adding Formatted Date to Slicer - YouTube
How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ Rongtie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Upali63 ,
To change the date format in your matrix title, you need to use a DAX expression that returns the formatted date as a text value. You can use the FORMAT function to do this.
"Total Quantities Sold for the day - " & FORMAT([Date], “dd-MMM-yyyy”)
This will return a text value like “Total Quantities Sold for the day - 12-Oct-2023”. You can then use this expression as the title of your matrix visual.
Alternatively, you can create a new measure that returns the formatted date as a text value.
Formatted Date = FORMAT(MAX([Date]), “dd-MMM-yyyy”)
This will return the maximum date in your data set as a text value in the format “dd-MMM-yyyy”. You can then use the following expression as the title of your matrix visual:
"Total Quantities Sold for the day - " & [Formatted Date]
Power BI Date Format Hack to Change the Date in Any Format - YouTube
How to CHANGE Date FORMAT in Power BI - YouTube
Power BI Tutorial on Date Formatting and adding Formatted Date to Slicer - YouTube
How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ Rongtie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hello @Upali63 ,
try changing the calendar date column from the data view to match the format you want.
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
Follow me on Linkedin
Vote for my Community Mobile App Idea 💡
Proud to be a Super User! | |
Thanks
Result is still the same
Below is my calendar Table
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
User | Count |
---|---|
88 | |
82 | |
65 | |
64 | |
58 |
User | Count |
---|---|
171 | |
113 | |
110 | |
73 | |
73 |