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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

convert Year (whole number) into correct date format

Hi,

I have below (csv) dataset, only three columns.

Country or Area = Text

Year = Whole number

Value = Whole number

 

1. how do I convert Year into correct date format?

2. what is perhaps recommended to format it, power query before loading data or DAX after data is loaded?

SGPhoto_2018_08_02 20_43_09.jpg

1 ACCEPTED SOLUTION
jthomson
Solution Sage
Solution Sage

I'd just change it in Power Query, you should just be able to make the type a date and it'll give everything the first day of that year

View solution in original post

2 REPLIES 2
jthomson
Solution Sage
Solution Sage

I'd just change it in Power Query, you should just be able to make the type a date and it'll give everything the first day of that year

Anonymous
Not applicable

thanks! Smiley Happy

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.