Forum Discussion

Lipo2025's avatar
Lipo2025
New Member
1 year ago
Solved

Another Sumif equivalent

Hello

We have a a database that we are trying to sum across. 

We have a report that shows multiple report numbers and number of days open. 

All reports start with an "A" designator. Each time a report is reopened, it gets a subsequent Alpha designator, "B", "C", etc. 

We need to calculate the total time the report is open despite the number of times it has been reopened. 

I understand how to do this in excel with SumIF, but we cannot get this to work in PowerBI. 

 

I would appreciate some direction on how this is done. 

 

     How I would so in Excel
Report # Days openleft (A, 6)Is duplicate?  SUMIF(C$3:C$11, C3, B$3:B$11)
123456A15123456Unique 15
134567A3134567Duplicate 11
134567B8134567Duplicate 11
145678A42145678Duplicate 59
145678B17145678Duplicate 59
768341A26768341Duplicate 60
257698A7257698Unique 7
768341B23768341Duplicate 60
768341C11768341Duplicate 60