Is it possible to write queries in Excel data model for tables ?

szakharov7723

Board Regular
Joined
Jun 22, 2018
Messages
85
Office Version
  1. 2019
Platform
  1. Windows
I have several tables (different data) in my Excel data model and I want to JOIN them with a manual sql query. Is it possible ?
If it is, how to do it ?
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
I think you need to provide more information.
Most importantly, is there any relationship between these tables?
Or do they have the same data structures?
If the answer to both of those questions is "No", then how exactly do you expect to JOIN them?

Also, where exactly are you going to be doing this?
In VBA? MySQL? PowerQuery?
 
Upvote 0
I want to FULL OUTER JOIN them on Date
They are of different data structures, but both have Date column of same type.
There are no active relationship there.
I wanted to do this in PowerPivot or currently trying to see if I can do something in PowerQuery.
All I really need is data from both of these sources to create history charts.

P.S Can you query in VBA o_0
 
Upvote 0
Actually I have completed my task in a bit other way (I used Power Query) , so I close the question.
 
Upvote 0

Forum statistics

Threads
1,215,066
Messages
6,122,948
Members
449,095
Latest member
nmaske

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top