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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
hiteshniranjan
New Member

How to create total count for WIP and completed in powerBI

Hello Eveyone,

I am new to powerbi and trying to matrix with count of WIP( less than 100) and completed(eq to 100) from the following data. Please suggest.

 

hiteshniranjan_1-1661782720309.png

 

 

 

 

 

1 ACCEPTED SOLUTION
v-zhangti
Community Support
Community Support

Hi, @hiteshniranjan 

 

You can try the following methods.

Column:

Column A = IF([Col A%]=100,"Completed",IF([Col A%]<100,"WIP"))
Column B = IF([Col B%]=100,"Completed",IF([Col B%]<100,"WIP"))

vzhangti_0-1662020896216.png

New Table:

Table 2 = SUMMARIZE('Table','Table'[Column A])

The column names were changed to "Type" to make it easier to distinguish.

vzhangti_1-1662020989354.png

Column:

Count A = CALCULATE(COUNT('Table'[Column A]),FILTER('Table',[Column A]=EARLIER('Table 2'[Type])))
Count B = CALCULATE(COUNT('Table'[Column B]),FILTER('Table',[Column B]=EARLIER('Table 2'[Type])))

vzhangti_2-1662021098915.png

Is this the result you expect?

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-zhangti
Community Support
Community Support

Hi, @hiteshniranjan 

 

You can try the following methods.

Column:

Column A = IF([Col A%]=100,"Completed",IF([Col A%]<100,"WIP"))
Column B = IF([Col B%]=100,"Completed",IF([Col B%]<100,"WIP"))

vzhangti_0-1662020896216.png

New Table:

Table 2 = SUMMARIZE('Table','Table'[Column A])

The column names were changed to "Type" to make it easier to distinguish.

vzhangti_1-1662020989354.png

Column:

Count A = CALCULATE(COUNT('Table'[Column A]),FILTER('Table',[Column A]=EARLIER('Table 2'[Type])))
Count B = CALCULATE(COUNT('Table'[Column B]),FILTER('Table',[Column B]=EARLIER('Table 2'[Type])))

vzhangti_2-1662021098915.png

Is this the result you expect?

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

PVO3
Impactful Individual
Impactful Individual

Hi

 

You coul try something like this

Measure1 = CALCULATE(COUNTROWS(Table),Table[Col A%] = 100)

Measure 2 = CALCULATE(COUNTROWS(Table),Table[Col A%] <> 100)

Thanks POV, Post creating these Measure how can i display the Text in first col as WIP and Completed because i have no column for this , Actually i am not sure how can i add these measure to get the final output

PVO3
Impactful Individual
Impactful Individual

The easiest way is to:

- Create a table like this

PVO3_0-1661839050340.png

- Create a matix visual, with this above column as columns

- In the matrix switch values to rows

- add these measures:

 

WIP =
SWITCH(TRUE(),
    SELECTEDVALUE('Table (3)'[Column1]) = "Col A%", CALCULATE(COUNTROWS('Table'),'Table'[Col A%] <> 100),
    SELECTEDVALUE('Table (3)'[Column1]) = "Col B%", CALCULATE(COUNTROWS('Table'),'Table'[Col B%] <> 100)
)
 
Completed =
SWITCH(TRUE(),
    SELECTEDVALUE('Table (3)'[Column1]) = "Col A%", CALCULATE(COUNTROWS('Table'),'Table'[Col A%] = 100),
    SELECTEDVALUE('Table (3)'[Column1]) = "Col B%", CALCULATE(COUNTROWS('Table'),'Table'[Col B%] = 100)
)
 
But if your willing to invest in more complicated options you should dive into calculation groups.
 

 

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors