Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
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 @M_SBS_6 , 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 @M_SBS_6 , 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
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 62 | |
| 61 | |
| 42 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 122 | |
| 116 | |
| 38 | |
| 32 | |
| 29 |