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
Aydeedglz
Helper V
Helper V

New Calculated Column with Date Calendar Power Query

Hi, I have my table with data and it contains month and year, and I hace created a calendar table with the date. The problem is that I am creating a new table with the reference of the first one, so I need a column with the exact date, how can I create a column with the exact date?

 

It needs to be in Power Query editor, because I am referencing the principal table (table 1)

 

Table 1

Aydeedglz_0-1670260723853.png

 

Table 2

Aydeedglz_1-1670260747368.png

 

Aydeedglz_0-1670261107362.png

 

 

 

2 REPLIES 2
Aydeedglz
Helper V
Helper V

This will only work if the rows are updated in order, right?

 

Is there a way to see the date a file was updated to SP?

v-zhangti
Community Support
Community Support

Hi, @Aydeedglz 

 

Use Split to separate this column from Year and Month.

vzhangti_0-1670294630521.png

After renaming the column, add the index column.

vzhangti_1-1670294714276.png

Column:

Date = DATEVALUE([Year]&"/"&[Month]&"/"&[Index])

vzhangti_2-1670294977949.png

Is this the result you expect?

Best Regards,

Community Support Team _Charlotte

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

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.