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
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
Super User
Super User

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
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.