The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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.
Solved! Go to Solution.
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"))
New Table:
Table 2 = SUMMARIZE('Table','Table'[Column A])
The column names were changed to "Type" to make it easier to distinguish.
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])))
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.
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"))
New Table:
Table 2 = SUMMARIZE('Table','Table'[Column A])
The column names were changed to "Type" to make it easier to distinguish.
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])))
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.
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
The easiest way is to:
- Create a table like this
- Create a matix visual, with this above column as columns
- In the matrix switch values to rows
- add these measures: