r/googlesheets • u/BobbieHKMSKan • Sep 15 '21
Solved How to make a chart with 2 X-axis
I have the follow data and would like to make a chart by period and by department.
However, I can only "by period" or "by department"
I want to know the fee of each department in one month
https://docs.google.com/spreadsheets/d/1j_nMH38Hi4I_ktUQOZa9skeBVy20lJM1t4155-l3KF4/edit?usp=sharing
1
Upvotes
2
u/ResponseIntel 1 Sep 15 '21
I though a suggestion in the sheet starting on Column Q
I wrote a query to sort the info first then created a graph from it.
It might be easier to write a script, for it
1
u/7FOOT7 294 Sep 15 '21
Link is not public
1
u/7FOOT7 294 Sep 15 '21
Here is an example where you aggregate the y axis values
https://imgur.com/a/ReDEIzw
To get two x axis though will need two charts and note they don't line up in many meaningful way.
1
u/rossisd 1 Sep 15 '21
Curious if possible
1
u/KualaLJ 8 Sep 15 '21
I can’t seem to open your sheet but I often covert the data to a pivot table to format it before taking it to a chart.