Hi,
I need a new calculation to divide one value by another using a filter.
count surv_id / count surv_id where surv_log = "yes"
Surv_id =4
count surv_id where surv_log "yes" =3
So I expect 75%
Any idea how to write this out please?
Solved! Go to Solution.
Hi @EML_7 , try this measure:
Count_yes = var p_=CALCULATE(count('Table'[surv_id]),'Table'[surv_id]="yes")
return
DIVIDE(p_,COUNT('Table'[surv_id]),"-")
Best regards
Hi @EML_7 , try this measure:
Count_yes = var p_=CALCULATE(count('Table'[surv_id]),'Table'[surv_id]="yes")
return
DIVIDE(p_,COUNT('Table'[surv_id]),"-")
Best regards
Thank you for your help
Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.
Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!
User | Count |
---|---|
215 | |
53 | |
43 | |
42 | |
42 |
User | Count |
---|---|
269 | |
210 | |
73 | |
71 | |
64 |