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
Anonymous
Not applicable

Calculate multiple columns

Hello Experts,

 

I am new to DAX queries. I am trying to calculate following fields, but unable to do so.

 

Column AColumn BColumn CColumn D
85393021

 

my goal is to calculate like this,

 

ColumnA + Column B + Columm C / Column D

 

Would be great help if you could help me with this

 

regards

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hello Ankit,

 

Thanks for your response. I was able to derive accrurate figure based on the script mentioned below. Not sure why.

 

Instead, i wrote below one and got the correct answer

 

divide(Table[Column1] + Table[Column2] + Table[Column3], Table[Column4])

 

regards

View solution in original post

3 REPLIES 3
AnkitKukreja
Super User
Super User

Hi @Anonymous 

 

Please use this. I've shared the output below.

DIVIDE( SUMX( 'Table' , 'Table'[Column1] + 'Table'[Column2] + 'Table'[Column3] ) , 
        SUMX( 'Table' , 'Table'[Column4] ) )

Capture.JPG
 
Thanks,
Ankit Kukreja
For Power BI trainings or support dm or reach out to me on LinkedIn.
If my response has successfully addressed your question or concern, I kindly request that you mark this post as resolved. Additionally, if you found my assistance helpful, a thumbs-up would be greatly appreciated.

Thanks,
Ankit Kukreja
www.linkedin.com/in/ankit-kukreja1904
Anonymous
Not applicable

Hello Ankit,

 

Thanks for your response. I was able to derive accrurate figure based on the script mentioned below. Not sure why.

 

Instead, i wrote below one and got the correct answer

 

divide(Table[Column1] + Table[Column2] + Table[Column3], Table[Column4])

 

regards

Yeah both would work. There are lot of scenarios where multiple solutions are possible.
I'm glad that you were able to solved it.

 

Thanks,
Ankit Kukreja
www.linkedin.com/in/ankit-kukreja1904

For Power BI trainings or support dm or reach out to me on LinkedIn.
If my response has successfully addressed your question or concern, I kindly request that you mark this post as resolved. Additionally, if you found my assistance helpful, a thumbs-up would be greatly appreciated.

Thanks,
Ankit Kukreja
www.linkedin.com/in/ankit-kukreja1904

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.