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
lhaz
Frequent Visitor

Add column to an existing table imported from Excel

Hi,

 

I have a table (Table1) like this which is imported from Excel 

 

Table.PNG

 

And I want to add a column starting at a certain date and then increasing with one day, like this:

 

Table 1.PNG

Is this possible in any way? I tried using the CALENDAR function but that creates a whole new table instead of adding a column to an existing table. I actually already have the correct date column in a date table. So it would also be fine if I could add this column to Table 1 mentioned above. 

 

Thanks!

 

Laura 

1 ACCEPTED SOLUTION
v-juanli-msft
Community Support
Community Support

Hi @lhaz

What relationship is between the Table1 and date table?

 

add a column starting at a certain date and then increasing with one day

You need to define which certain date to add for the first row.

 

If they have proper relationship, you can create a calculated column in Table1 with the function Related, like

column1=RELATED (Date Table [date])

 

Best Regards

Maggie

 

 

 

 

View solution in original post

1 REPLY 1
v-juanli-msft
Community Support
Community Support

Hi @lhaz

What relationship is between the Table1 and date table?

 

add a column starting at a certain date and then increasing with one day

You need to define which certain date to add for the first row.

 

If they have proper relationship, you can create a calculated column in Table1 with the function Related, like

column1=RELATED (Date Table [date])

 

Best Regards

Maggie

 

 

 

 

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.