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
Solved! Go to Solution.
Hi @584100
First, you have an issue with parenthesys YEAR function: YEAR(Sales[Date]=2014) is completely wrong statement
Second, try to use ALL() inside filter
Amount = SUMX (FILTER(ALL(Sales),YEAR(Sales[Date])=2014),Sales[Sales Amount])
do not hesitate to give a kudo to useful posts and mark solutions as solution
CALCULATE(SUMX(sales,salesamount),salesdate="2014")
Hi @584100
First, you have an issue with parenthesys YEAR function: YEAR(Sales[Date]=2014) is completely wrong statement
Second, try to use ALL() inside filter
Amount = SUMX (FILTER(ALL(Sales),YEAR(Sales[Date])=2014),Sales[Sales Amount])
do not hesitate to give a kudo to useful posts and mark solutions as solution
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 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 32 | |
| 31 | |
| 18 | |
| 12 | |
| 11 |