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
Bom dia!
Preciso calcular o resultado de saida de MUNICIPIO....
A regra é pegar a utltima DATA_UPDATE, maior ERB_FALHA por UF e retornar o municipio que teve maior registro de ERB_FALHA.
Segue link com os dados compartilhados https://easyupload.io/k4h5gi
Bom dia! Vitor
Ok, mas no caso poderá haver cidades empatadas, quando houver essa situação o sistema deverá escolher uma ou apresentar as duas na lista.
Hi, @Victor1986
Sorry I can't access your link. Can you represent the sample data in Excel, and the output you expect. The image of your original post cannot be enlarged, and the details cannot be seen clearly.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Olá! Victor
Fiz algumas medidas e cheguei a um resultado que seja o que procura.
Criei uma tabela exemplo no powerquery para conseguir fazer os calculos abaixo o layout do arquivo modelo.
Para chegar ao resultado eu utilizei duas medidas.
Bom dia @elder_lops
Obrigado por tentar me ajudar mas...
O que preciso é trazer o resultado da cidade (top 1) que contem o maior numero de erbs falhas separado por UF ...por exemplo ....
AC temos varias cidades ...preciso trazer a cidade (top 1) que contempla maior numero de erbs falha....
AL tambem tem varias cidades ....preciso trazer a cidade que contempla maior quantidade de erbs falha ....
O resultado final é identificar as cidades (top 1) que precisam de maior atençaõ por terem maior numero de erbs falhas....
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 |
|---|---|
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 8 | |
| 8 | |
| 6 | |
| 6 | |
| 6 |