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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
pachi
New Member

DATEADD - problem of link between 2 tables

Dear all,

I am starting with Power BI and I would need your help on the function DATEADD.

I have well understood this is a time intelligence and my dates need to be somewhere to appear.
So I created a date table (marked as date table )

Dates.png


I my main table I would like to do:
- add 2 months to my column "Initial Receipt Date" (meaning if Initial Receipt Date = 01/Jan/2023, I would like to see 01/Mar/2023 in the column "2nd DD" -> without taken into account the number of days in the month)
I used the formula: 2nd DD = DATEADD('Line Listing 1'[Initial Receipt Date],2,MONTH)
IRD.png2nd DD.png


I linked both tables by 'Line Listing 1'[Initial Receipt Date] & 'Dim Initial Receipt Date'[Date], however it doesn't work.
I probably made something wrong but I don't know what

Link 2 tables.png


Would someone be able to help me?

Thanks in advance for your help!

1 ACCEPTED SOLUTION
FreemanZ
Super User
Super User

hi @pachi 

try like:

2nd DD = EDATE('Line Listing 1'[Initial Receipt Date],2)

View solution in original post

3 REPLIES 3
FreemanZ
Super User
Super User

hi @pachi 

try like:

2nd DD = EDATE('Line Listing 1'[Initial Receipt Date],2)

Thank you so much for your help, this is exactly what I wanted to do!

glad to hear that.

p.s.

you see, Time Intelligence functions are powerful, but may not always be necessary. Plain funtions like EDATE, EOMONTH are good enough in many date calculations.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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