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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
akpresta
Regular Visitor

Power querry Join

Hello everyone,

I really need help from the great community

In the PJ file, I have a dashboard tab "TDB" where there is information, I want to update (replace) them according to the "UPDATE" tab.

Except that my problem is the following: in the base file "TDB" I have ID TRADE NAME which represents a key between the two files except that I cannot use search V because there are duplications of lines and that the table join creates too many excess rows.

Have you ever had to deal with this type of case?

Many thanks for your help

A.K.
Spoiler
"TDB"
Nom Prénom id tadedate d'entrée de le portefeuillePaystype
TEST0TEST7B9738310/10/2023FRTYPE 1
TEST2TEST6B42766711/10/2023ESTYPE 1
TEST6TEST6B67366712/10/2023UKTYPE 3
TEST6TEST2B51200913/10/2023USATYPE 1
TEST6TEST2B51200913/10/2023USATYPE 1
TEST4TEST9B69908914/10/2023IRTYPE 1
TEST4TEST9B69908914/10/2023TKTYPE 1
TEST5TEST8C41839315/10/2023ITTYPE 3
TEST3TEST9C65081516/10/2023FATYPE 1
TEST5TEST3C30576617/10/2023FRTYPE 1
TEST5TEST3C30576617/10/2023SPTYPE 1
TEST0TEST7C91220518/10/2023ESTYPE 3
TEST4TEST3C90875919/10/2023UKTYPE 1
TEST3TEST2C64489520/10/2023USATYPE 1
TEST6TEST10C51007821/10/2023MATYPE 3
TEST9TEST5C98747422/10/2023ITTYPE 1
TEST9TEST3C52698023/10/2023FATYPE 3
TEST10TEST0C60767224/10/2023RATYPE 2


"MAJ"
id tadedate d'entrée de le portefeuillePaystype
B9738310/10/2023FRTYPE 1
B42766720/12/2022ITTYPE 1
B67366721/12/2022DZTYPE 3
B51200913/10/2023USATYPE 1
B69908914/10/2023MATYPE 1
C41839315/10/2023ITTYPE 3
C65081516/10/2023FATYPE 1
C30576617/10/2023FRTYPE 1
C91220518/10/2023ESTYPE 3
C90875919/10/2023UKTYPE 1
C64489520/10/2023USATYPE 1
C51007821/10/2023MATYPE 3
C98747422/10/2023ITTYPE 1
C52698023/10/2023FATYPE 3
C60767224/10/2023RATYPE 2
B69908914/10/2023BATYPE 1
B69908914/10/2023BOTYPE 1
B69908914/10/2023BCTYPE 1

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@akpresta , One of the ways is to have common dimensions and deal with such tables

 

Power BI- DAX: When I asked you to create common tables: https://youtu.be/a2CrqCA9geM
https://medium.com/@amitchandak/power-bi-when-i-asked-you-to-create-common-tables-a-quick-dax-soluti...

Power BI- Power Query: When I asked you to create common tables: https://youtu.be/PqfGW6pl1Sw

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@akpresta , One of the ways is to have common dimensions and deal with such tables

 

Power BI- DAX: When I asked you to create common tables: https://youtu.be/a2CrqCA9geM
https://medium.com/@amitchandak/power-bi-when-i-asked-you-to-create-common-tables-a-quick-dax-soluti...

Power BI- Power Query: When I asked you to create common tables: https://youtu.be/PqfGW6pl1Sw

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

thank you very much 🙂 

Helpful resources

Announcements
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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