Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
Tripb44
Helper II
Helper II

Filter on sumx function

I am trying to add a dynamic filter on one of my measures.  I need the sumx but to filter dynamically on the selected date.  Below is my current measure that I am trying to work through.  

Tripb44_1-1634750461548.png

 

1 REPLY 1
PaulDBrown
Community Champion
Community Champion

SUMX expects a table expression and an aggregation expression. Your SUMX includes a VALUES expression (another table expression) where the aggregation should be. So remove the VALUES expression.





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.