Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Hi Guys,
Please I am trying to create new measure this the follwoing:
Solved! Go to Solution.
Hi @Anonymous,
If the issue still occur, kindly share your pbix to me . Please upload your files to One Drive and share the link here.
Regards,
Frank
Hi @Anonymous,
If the issue still occur, kindly share your pbix to me . Please upload your files to One Drive and share the link here.
Regards,
Frank
what's the error exactly? What's the syntax for [Total Sales]?
is the Date table marked as Date table, with Date[Date] as key column? see here https://docs.microsoft.com/en-us/power-bi/desktop-date-tables
is the join set to 1:many with single direction?
Hi Stachu,
Please se the screen shoot above
Thanks
weird, syntax looks correct, but maybe you can try with this one:
LY Sales = CALCULATE ( [TotalSales], DATEADD ( 'Date'[Date], -1, YEAR ) )
I usually use https://www.daxformatter.com/ to verify syntax, maybe the spaces+capital letters will help
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 |
|---|---|
| 30 | |
| 28 | |
| 25 | |
| 24 | |
| 16 |
| User | Count |
|---|---|
| 48 | |
| 32 | |
| 17 | |
| 16 | |
| 16 |