Forum Discussion

GarethParry's avatar
GarethParry
Icon for Helper I rankHelper I
3 years ago

Struggling to create visual

Hi,

 

We have the below graph in excel, but i cant create in Power BI. Its bascially a stacked column chart for starters and leavers year to date.

 

i have a table that summarises leavers as

 

LeaversSiteMonthYear
45NottinghamApr2022
35LeedsApr2022
345CentralApr2022
72NottinghamAug2022
78LeedsAug2022
252CentralAug2022
11PeterboroughAug2022

 

and a table that summarises new starters

 

StartersSiteMonthYear
10GatesheadApr2022
35NottinghamApr2022
45LeedsApr2022
30PeterboroughApr2022
120CentralApr2022
15GatesheadAug2022
30LeedsAug2022
18NottinghamAug2022
69CentralAug2022
13PeterboroughAug2022

 

and want something like

 

 

is this possible?

 

thanks

 

Gareth

1 Reply

  • HotChilli's avatar
    HotChilli
    Icon for Community Champion rankCommunity Champion

    I think I would Append those tables (Add a column- "Type" to each with a hardcoded value of "Leavers" or "Starters" then rename 1st column in each to be "NumPeople" ).

    You can then use a stacked column chart.