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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
POWER_MI
Post Patron
Post Patron

Create New Data based on 2 initial table

In power Project there are two table 

 

Table Base_1 couloumn Home ( H1,H2,H3), Student ( S1,S1,S1,...)

Table Base_2 Action ( A1,A2,A3), Room(R1,R1,R1), Student( S1,S2,S3...)

 

The objectif is to have SQL or Dax commande to :

 

Create new table 3 based on two imported one and the condition is : 

When for example on Base_1 The Home=H1 the New table base_3 will be with Value of Base_2 /  Student=S1  because on Base_1 when Home =H1 Student=S1 so will take on Base_2 value Student=1 and other data Action A1...

 

Table Base_1 

Home                Student 

H1                      S1

H2                      S2 

H3                      S3

 

Table Base_2 

 

Action ( A1,A2,A3

Room(R1,R1,R1

Student( S1,S2,S3

scren.PNG

1 REPLY 1
lbendlin
Super User
Super User

I assume there will be multiple actions per student, and the 1:1 relationship you show ins not supported with larger data sets? Please provide more realistic sample data in usable format and show the expected outcome.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.