Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
LucasCPT
New Member

Criar uma nova coluna com condicionais

Olá,

Estou com um caso especifico:

Tenho uma tabela que tem algumas duplicatas, porém em cada linha desse caso existe valores distintos para aquela duplicata. Exemplo:

Capturar.PNG

Como faço para excluir a linha duplicada, porém manter o valor da Coluna "Data TA" que será excluida na primeira linha que mostra "null"?

Existe algum procedimento dentro do power Query?

 

Obrigado!

 

1 REPLY 1
amitchandak
Super User
Super User

Refer, if these can help

 

https://community.powerbi.com/t5/Desktop/Remove-duplicates-based-on-values/td-p/59148

https://youtu.be/rqDdnNxSgHQ

 

In DAX You could do like

Summarize(Table, Table[Column1],Table[Column2], "Column 3",max(Table[Column3]), "Column 4",max(Table[Column4]))

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution.
In case it does not help, please provide additional information and mark me with @

Thanks. My Recent Blogs -Decoding Direct Query - Time Intelligence, Winner Coloring on MAP, HR Analytics, Power BI Working with Non-Standard TimeAnd Comparing Data Across Date Ranges
Connect on Linkedin

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.