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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Syndicate_Admin
Administrator
Administrator

Error in subtraction of months

Good Day, please I need help with a calculation of a formula which I am subtracting 2 months to a specific date, the problem with the formula is that if I subtract 2 months to a date with month February the date is blank and does not show me December of the previous month, from now on thank you very much
ERROR.png

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

You use DATEADD - that works on filter contexts.  If you need to subtract months from individual values you should use EDATE

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

You use DATEADD - that works on filter contexts.  If you need to subtract months from individual values you should use EDATE

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.