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
JohannesB
New Member

Verknüpfung von zwei Tabellen mit Plan- und Ist-Umsatzwerten

Hallo,

ich habe 2 Tabellen mit folgenden Spalten:

Tabelle 1: Datum I Filiale I Plan-Umsatzwert

Tabelle 2: Datum I Filiale I Umsatzwert

 

Wie bekomme ich die beiden miteinander verknüpft? Eine 1:1 Verknüpfung des Datums oder der Filiale funktioniert nicht.

Somit funktioniert der Abgleich auch nicht. 

 

4 REPLIES 4
JohannesB
New Member

Sorry, but how can i do that? I got the date and the branche into a single column, but how am i doing it with the key? 

Can you show me what you tried so far?


Proud to be a Power BI Super User !

Microsoft Community : https://docs.microsoft.com/en-us/users/AmiraBedhiafi
Linkedin : https://www.linkedin.com/in/amira-bedhiafi/
StackOverflow : https://stackoverflow.com/users/9517769/amira-bedhiafi
C-Sharp Corner : https://www.c-sharpcorner.com/members/amira-bedhiafi
Power BI Community :https://community.powerbi.com/t5/user/viewprofilepage/user-id/332696

Hello,

I have combined the columns "Branch" and "Planned value" in one column (see image). I have also done this with the other table "Store" and "Actual value".

What else do I have to do so that I can link the "Store" or "Date" columns of both tables?

 

AmiraBedh
Resident Rockstar
Resident Rockstar

Hallo !

Please note that we use English in this platform to communicate.

You need to create a new column that combines the Date and Branch columns into a single composite key.

For Table 1 (Planned sales):

CompositeKey = CONCATENATE(Table1[Date], Table1[Branch])


For Table 2 (Actual Sales):

CompositeKey = CONCATENATE(Table2[Date], Table2[Branch])

 

Once you have a composite key in both tables, you can create a relationship between them based on this new key.


Proud to be a Power BI Super User !

Microsoft Community : https://docs.microsoft.com/en-us/users/AmiraBedhiafi
Linkedin : https://www.linkedin.com/in/amira-bedhiafi/
StackOverflow : https://stackoverflow.com/users/9517769/amira-bedhiafi
C-Sharp Corner : https://www.c-sharpcorner.com/members/amira-bedhiafi
Power BI Community :https://community.powerbi.com/t5/user/viewprofilepage/user-id/332696

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Fabric Monthly Update - May 2024

Check out the May 2024 Fabric update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.