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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Brite
Helper I
Helper I

Sum by Month Help

Hello,

I have been trying to sum Pay1, Pay2, and Pay3... data by the same month. What is the best way to solve this? Thanks!

 

Brite_0-1629395207450.png

 

6 REPLIES 6
PaulDBrown
Community Champion
Community Champion

try:

Sum Pay1 = CALCULATE (SUM(Table[Pay1]), ALLEXCEPT(Table, Table[SignedDate]))

 

etc...





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.






@PaulDBrown Forgot to mention Pay1, Pay2, Pay3... are all measures. The Dax formula above doesn't accept sum('Tablename'[Pay1]). How would I sum Dax measures (Pay1, Pay2, Pay3..)? 

PaulDBrown
Community Champion
Community Champion

It depends on what the measures calculate, but in  principle:

Sum Pay1 by month= CALCULATE [Pay1],  ALLEXCEPT(Table, Table[SignedDate]))

 

or

SUMX(ALLEXCEPT(Table, Table[SignedDate]), [Pay1]))





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.






I tried:
Sum Pay1 by month = CALCULATE([Pay1], ALLEXCEPT('Table', 'Table'[SignedDate]))
 
The output is:
Brite_0-1629398488313.png

 

Hi @Brite ,

 

Could you pls share your .pbix file for test?

Remember to remove the confidential information.

 

Best Regards,
Kelly

Did I answer your question? Mark my reply as a solution!

PaulDBrown
Community Champion
Community Champion

You need to replace 'Table' in the expression to your actual table name!





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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors