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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount 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