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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register 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

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

thank you very much 🙂 

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.