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! Request now
I have an issue with dateadd function that not returns total sales from previous year:
What is wrong?
https://drive.google.com/file/d/1Y2eJD4NTWY8eCLfb7SB2FlnFwAgCH4qW/view?usp=sharing
Solved! Go to Solution.
The measure is working, but you don't have any filters on the card visual. That means that the entire date table is visible in the evaluation context, so the DATEADD is showing all dates prior to 2024. If you put the PY measure in the column chart it works.
You could add a relative date filter to the card visual to only show the current year.
The measure is working, but you don't have any filters on the card visual. That means that the entire date table is visible in the evaluation context, so the DATEADD is showing all dates prior to 2024. If you put the PY measure in the column chart it works.
You could add a relative date filter to the card visual to only show the current year.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 5 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 24 | |
| 21 | |
| 15 | |
| 12 | |
| 10 |