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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
chat_peters
Helper III
Helper III

SSAS - How to use the format string function in the column properties to change the formatting

Hello,

 

I have a date_key column with data type whole number and formatted as Text as shown below.

 

chat_peters_0-1693240445671.png

 

I want to apply this same logic to the date_key column in another table for my measure to work. I don't remember how to use the custom formatting and what do I put in the format string section. Does this use power query or dax. 

 

chat_peters_1-1693240661650.png

Please please help!

3 REPLIES 3
chat_peters
Helper III
Helper III

Thank you for pointing me in the right direction. I will move my question to that forum!

Glad to be of help.  

 

Feel free to mark as a solution, and always open to Kudos.

foodd
Community Champion
Community Champion

Thank you for starting a conversation in the Power BI Desktop Forum.   Unfortunately, your 

question relates to SSAS which belongs to another Support Forum.   The SSAS forum has

migrated over to Microsoft Q&A SQL Server.

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.