Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
When I write this measure,
Solved! Go to Solution.
@knowparthshah Please make sure you have used the below DAX measure for [CurrentYear], which will return the max year in the table irrespective of any filters applied
CurrentYear =
@knowparthshah Please make sure you have used the below DAX measure for [CurrentYear], which will return the max year in the table irrespective of any filters applied
CurrentYear =
Thanks a lot, It worked
how do you calculate [CurrentYear]? Is it measure or calculated column?
do not hesitate to give a kudo to useful posts and mark solutions as solution
It is a measure
Year ( max ( Sales[Date]))
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 20 | |
| 11 | |
| 10 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 33 | |
| 30 | |
| 19 | |
| 12 | |
| 11 |