Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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....
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 6 | |
| 6 | |
| 4 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 24 | |
| 17 | |
| 10 | |
| 7 | |
| 6 |