Forum Discussion
Anonymous
7 years agoNot applicable
Academic course pass rate
Hello every one, I am new to Power BI because my institution just switched to it recently. I need help creating a measure that calculates course pass rate. This would represent the percent of course...
- Anonymous7 years ago
Hi Anonymous
Create a measure to retreive pass/total.
PASS_RATE_M = VAR TOTAL_COUNT = COUNTROWS ( T22 ) VAR PASS_COUNT = CALCULATE ( COUNTROWS ( T22 ), FILTER ( T22, T22[Grade] IN { "A", "B", "C" } ) ) RETURN PASS_COUNT / TOTAL_COUNTCheers!
A
Anonymous
7 years agoNot applicable
Mathur I'm trying to get the percent of courses students passed with a grade of A, B, or C on the total grades. I have a sample data layout above.
Ashish_Mathur
Super User
7 years agoHi,
What exact result do you want to see? Show the expected result in a simple Table.