Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi everybody, I have been missing for a some time.
I need a card that shows the units of the previous month or a specific month, the date field may contain duplicate records from what I understand I cannot use DATEADD unless I use an auxiliary table with dates in model. I have tried the latter but it does not work.
Any ideas? Thank you very much.
With this table the measure works, there are duplicates dates:
Also, I don't understand what I am doing wrong because this measurement works in one table but not in another:
Measure = CALCULATE(SUM('Table'[uds]),DATEADD('Table'[Date],-1,MONTH))
Shouldn't it indicate in both tables that there are duplicate dates?
This is the error:
Solved! Go to Solution.
Ok, DATEADD is not ok, I need to use another formula to calculate this.
Finally, I have solved with this formula:
Ok, DATEADD is not ok, I need to use another formula to calculate this.
Finally, I have solved with this formula:
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.