This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
HI everybody,
Have I troble to do percent
What i need
Count i "cidades" and divide foir all "cidades"
What i tried
WHen i put in the graph
Thanks
Solved! Go to Solution.
Hi @Anonymous ,
Assume you have already get the [cidades] column correctly, then you could create a measure like below:
measure =
var a = calculate(countrow('atendimentos'),filter(all('atendimentos'),[cidades] = selectedvalue('atendimentos'[cidades])))
var b = calculate(countrow('atendimentos'),ALL('atendimentos'))
return
divide(a,b)
If I misunderstood your meaning, please show some sample data in text format and the expected result you want.
Best Regards,
Jay
Hi @Anonymous ,
Assume you have already get the [cidades] column correctly, then you could create a measure like below:
measure =
var a = calculate(countrow('atendimentos'),filter(all('atendimentos'),[cidades] = selectedvalue('atendimentos'[cidades])))
var b = calculate(countrow('atendimentos'),ALL('atendimentos'))
return
divide(a,b)
If I misunderstood your meaning, please show some sample data in text format and the expected result you want.
Best Regards,
Jay
@Anonymous , You can not use slicer value in a column, You need to create a measure
refer
Percent of SubTotal or Total: https://www.youtube.com/watch?v=6jTildcV2ho&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=37
Percent of Total- https://www.youtube.com/watch?v=uO3ojDPOpcg&list=PLPaNVDMhUXGZNyKU0PgG2g3P0c6CPjMnj&index=7
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 36 | |
| 32 | |
| 26 | |
| 24 | |
| 17 |
| User | Count |
|---|---|
| 70 | |
| 50 | |
| 31 | |
| 26 | |
| 22 |