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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Syntax error!

New Measure error msg: Not sure how to address this msg?

The syntax for 'actual' is incorrect. (DAX(datediff(manufacture actual end date,manufacture actual start date,day))).

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @v-diye-msft ,

 

Thanks for your reply. I figured it out!

 

The error msg had to do with how I referenced the date fields from my table. Thanks,

 

Regards,

Steve

View solution in original post

2 REPLIES 2
v-diye-msft
Community Support
Community Support

Hi @Anonymous ,

 

Could you please let us know what does "manufacture actual end date"&"manufacture actual start date" represent? If they're measures or columns?

I think it should prabably refer to the usage of Datediff, please see the official document making sure you applied it in the right way: https://docs.microsoft.com/en-us/dax/datediff-function-dax

if the issue still exist, it's preferred to share us your detailed data that would be easier for us to find the point.

 

Best regards,

Dina Ye

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.
Anonymous
Not applicable

Hi @v-diye-msft ,

 

Thanks for your reply. I figured it out!

 

The error msg had to do with how I referenced the date fields from my table. Thanks,

 

Regards,

Steve

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors