This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Hi All,
I have written a dateadd() to find the dates for the last month. The formula is:
Dates add = CALCULATE([Total Sales],DATEADD('Date Table'[Date],-1,MONTH))
The problem is it gives few data correct and few incorrect. How do i correct it?
Please see the screenshot:
@PradipMCT,
Which table do the first two columns come from? Could you please share sample data of your table for us to analyze?
In my scenario, dateadd function works as expected, and the first two columns come from Date table, you can check the following screenshot.
Regards,
Lydia
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 25 | |
| 23 | |
| 22 | |
| 17 | |
| 14 |
| User | Count |
|---|---|
| 25 | |
| 24 | |
| 20 | |
| 19 | |
| 19 |