I am completely new to power bi. I have the sample data table as below.
I want to calculate the percentage of PASS percentage(Total Number of Pass cases/Total Number of Cases) and FAIL percentage (Total Number of Fail Cases/Total Number of Cases) status for each day. I tried as below but it's not giving me the expected results.
Blocked by date = Calculate (
countrows (TableName),
(TableName[TestDate].[Date],[Total BLOCKED])
)
Here Total BLOCKED is the measure I created to filter the status.
Where am I going wrong here? How should I calculate the percentage of PASS and FAIL status for each day?