Reputation: 2544
I have three datasets (simplified example below):
Every dataset has two columns: studentId
and age
.
I want to create a bar chart that shows the distribution of age across these schools. For easy comparison I would like to have:
I tried linking the datasets, but due to the different number of students and the various studentId
formats per school this did not work.
I tried using the studentId
columns of the three datasets as the value and the age
column of every dataset as the axis. This only worked one dataset at a time. I needed to "Go to the next level in the hierarchy" to see the other dataset.
How else can I achieve this?
Upvotes: 1
Views: 105
Reputation: 16420
You can go into Power Query Editor:
And you will need to add a new column for each datasheet with the legend you want, for example:
So your tables should look like this:
Then merge the tables with Append Queries as New:
Select Three or more tables, and add the three tables:
And there you have your three tables merged into one.
Upvotes: 2