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! It's time to submit your entry. Live now!
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! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 10 | |
| 7 | |
| 4 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 19 | |
| 14 | |
| 11 | |
| 8 | |
| 7 |