Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register 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....
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
11 | |
9 | |
8 | |
6 | |
5 |
User | Count |
---|---|
19 | |
17 | |
12 | |
9 | |
9 |