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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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