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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
jracer007
Helper IV
Helper IV

Add Column to other table

Hello community,

How can I add these two columns (Page and Total Events)to another table?
power bi8.pngpower bi9.png

Note: the data source is from Google Analytics.

1 ACCEPTED SOLUTION

This is the part of your message that is not clear. You mention Pages and Total Events which seem like they are part of the same table. You can use UNION to mash tables together or NATURALINNERJOIN. But, I still doin't have a good understanding of the output that you want exactly.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

7 REPLIES 7
v-chuncz-msft
Community Support
Community Support

@jracer007,

 

Based on the above, you may use Merge Queries in Query Editor.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Greg_Deckler
Community Champion
Community Champion

Depends. You could just reimport the information you want (copy your query(ies)).

 

Or, you could use something like SUMMARIZE or ADDCOLUMNS to create a new table in your data model.

 

Not entirely sure what you are asking. Are these two separate tables and if so, how are they related?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

How could I make the formula?

So, you could just go to the Modeling tab you can choose New Table. Then you can put in a formula like:

 

Table = SUMMARIZE(Table,[Page],"Events",[Total Events])


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

but how do I take columns from two separate tables?

This is the part of your message that is not clear. You mention Pages and Total Events which seem like they are part of the same table. You can use UNION to mash tables together or NATURALINNERJOIN. But, I still doin't have a good understanding of the output that you want exactly.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

they are not related, and those are the tables are separate.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.

Top Solution Authors
Top Kudoed Authors