I created two measures in Power BI called Count of Appointment Status for Kept and Count of Appointment Status for DNS. These measures are counting and filtering values in Client'[Appointment Status]. I'm not sure if the CALCULATE and COUNTA functions are the best way to accomplish this task.
Count of Appointment Status for Kept =
CALCULATE(
COUNTA('Client'[Appointment Status]),
'Client'[Appointment Status] IN { "Kept" }
)
Count of Appointment Status for DNS =
CALCULATE(
COUNTA('Client'[Appointment Status]),
'Client'[Appointment Status] IN { "DNS" }
)
Percentage of Total No Show =
FORMAT(
CALCULATE(Client[Count of Appointment Status for Kept])
/Client[Count of Appointment Status for DNS])
, "0.00%)
Nevertheless, I'm trying to create a measure to calculate the percent of "No Show". When I do it, the decimal places gives me an issue. For example, 8.50 turns into 850.0%. I'm sure there is a syntax issue, I just don't know where.
Kept
always less thanDNS
in terms of counting? – Alexis Olson850.0%
incorrect? – Alexis Olson