cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

DAX formula to find sum

Hello Experts,
I have data in the below format

Project IDRisk DescBudget
1aaa100
1bbb100
1ccc100
2ddd200
2eee200
3fff300
3ggg300


Expectation: I want to find the sum of budget for all the projects but here each project ID has multiple rows.
Ideally, for the above data, the sum of budget should be 600. I am sure we can implement using a measure but I am unable to proceed.
Thanks.


1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User II
Super User II

Re: DAX formula to find sum

Hi @Pratz203 

try smth like

Measure = SUMX(SUMMARIZE('Table', 'Table'[Project ID], "avrg", AVERAGE('Table'[Budget])), [avrg])

do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

View solution in original post

1 REPLY 1
Highlighted
Super User II
Super User II

Re: DAX formula to find sum

Hi @Pratz203 

try smth like

Measure = SUMX(SUMMARIZE('Table', 'Table'[Project ID], "avrg", AVERAGE('Table'[Budget])), [avrg])

do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

View solution in original post

Helpful resources

Announcements
Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Power Platform 2020 release wave 2 plan

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors