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!
| User | Count |
|---|---|
| 19 | |
| 13 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 29 | |
| 26 | |
| 17 | |
| 11 | |
| 10 |