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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Maz_0102
Helper I
Helper I

count rows/Sum rows without aggregation

Hello fellow power bi wizards

 

Number of units = 

I'm trying to sum of units for each building you can see first three rows are the same unique ID so it aggregates the sum for all three row

I just want the sum per building

 

also I want to do this filter based on another column which is a category column e.g. red, amber, green, blue

 

so I want to count the number of units filters by category without aggregating for every row 

 

can someone please advise 

Maz_0102_0-1697106027621.png

 

 

 

3 REPLIES 3
Anonymous
Not applicable

Hi @Maz_0102 ,

In order to better understand your demands and give the right solution, could you please provide some more specific information? such as your desensitized example data and a screenshot of your desired results?

Thanks for your efforts & time in advance.

 

Best regards,
Community Support Team_Binbin Yu

sergej_og
Super User
Super User

Hey @Maz_0102 ,
can you pls provide your target result?
I´m not sure to get it right.

Regards

The first three rows which is the same unique ID is 301

 

If I did sum it sum all three rows but I just need to return 301 and the same for every other row

 

I also need to this sum based on a filter of another category column as well

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.