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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
SalSal
Frequent Visitor

DATEADD returning Blank values

Hi,

I'm trying to get the result of the DateAdd into number of months , for some of the records its working fine but for some records its returning blank. What I'm doing wrong here?

DATEADD(Table1[Date Completed].[Date], Table2[Test], MONTH)

 

Date Completed = '8/24/2020 10:00:00 AM'

Test = 24

 

Thanks,

-Sal

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi  @SalSal ,

In order to give you a suitable solution, could you please provide some sample data in the table Table1 and Table2(exclude sensitive data) with Text format and your expected result with backend logic and special examples? Please also share the relationship info if there is any relationship exist between these two tables. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

In addition, The following links describes some application scenarios of the DATEADD function, you can refer them.

Using The DATEADD Function For Effective Time Related Insights - Power BI

Issue with DATEADD function in DAX

yingyinr_0-1655084783844.png

Power BI Time Intelligence — DATEADD/SAMEPERIODLASTYEAR/PARALLELPERIOD

yingyinr_2-1655084908381.png

yingyinr_3-1655084928168.png

Best Regards

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi  @SalSal ,

In order to give you a suitable solution, could you please provide some sample data in the table Table1 and Table2(exclude sensitive data) with Text format and your expected result with backend logic and special examples? Please also share the relationship info if there is any relationship exist between these two tables. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

In addition, The following links describes some application scenarios of the DATEADD function, you can refer them.

Using The DATEADD Function For Effective Time Related Insights - Power BI

Issue with DATEADD function in DAX

yingyinr_0-1655084783844.png

Power BI Time Intelligence — DATEADD/SAMEPERIODLASTYEAR/PARALLELPERIOD

yingyinr_2-1655084908381.png

yingyinr_3-1655084928168.png

Best Regards

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

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.