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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
waterdatadude
Regular Visitor

How to use only one value per project name to calculate budget

Hi All,

 

I'm trying to do something that I feel may be simpler than I'm making it out to be, but essentially I am trying to show budgets for various projects, however in the source data, the budget value is duplicated for multiple components of the project, so when they are summed for the visualization, it's much higher than it should be. I originally set out to remove all duplicates, but it's a big dataset with some general budgets that could be duplicated across multiple different projects, so if I were to remove all duplicates, it would potentially remove identical budgets for different projects.

 

In ArcGIS, I recall a simple button to ensure a visualization just pulled in one value per "category," but I can't seem to figure out a simple solution for this within Power BI. Any insight would be greatly appreciated! Happy to provide any more info to help shed light on this.

 

waterdatadude_0-1662130850273.png

 

1 ACCEPTED SOLUTION
jdbuchanan71
Super User
Super User

@waterdatadude 

Give this a try.  It collapses eash Project / Budget into a single row then adds them up from there.

Project Budget Amount =
SUMX (
    GROUPBY ( 'Table', 'Table'[Project], 'Table'[Project Budget] ),
    'Table'[Project Budget]
)

View solution in original post

1 REPLY 1
jdbuchanan71
Super User
Super User

@waterdatadude 

Give this a try.  It collapses eash Project / Budget into a single row then adds them up from there.

Project Budget Amount =
SUMX (
    GROUPBY ( 'Table', 'Table'[Project], 'Table'[Project Budget] ),
    'Table'[Project Budget]
)

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.