The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hello,
I am somewhat new to PowerBI, and am appreciative of any assistance.
I need to have a column chart that shows for each month, counts of people of different categories coming into a group and departing a group. We call it Inflow Outflow. We need to see the counts of people going in, compared with the people going out.
I have been able to do this, by using +1 and -1 for each Inflow and Outflow item respectively.
As you can see, there is an Inflow column for each month, and an outflow column for each month.
If I try to combine both inflow and outflow into one column per month, the numbers are subtracted, not stacked correctly.
What I really want is this:
Is this possible in PowerBI? How might I do that?
Solved! Go to Solution.
Hi @JMVandore,
If I try to combine both inflow and outflow into one column per month, the numbers are subtracted, not stacked correctly.
What I really want is this:
To show both inflow and outflow into one column bar per month, we have to add "inflow/outflow" as chart legend. However, from the image, it looks like there existing a legend item in chart, it is not allowed to add multiple legend items into a chart. The only workaround is to create an extra column which combines Year-Month with Inflow/OutFlow, add this new column to X-axis, as shown in the first image you posted.
Regards,
Yuliana Gu
Hi @JMVandore,
If I try to combine both inflow and outflow into one column per month, the numbers are subtracted, not stacked correctly.
What I really want is this:
To show both inflow and outflow into one column bar per month, we have to add "inflow/outflow" as chart legend. However, from the image, it looks like there existing a legend item in chart, it is not allowed to add multiple legend items into a chart. The only workaround is to create an extra column which combines Year-Month with Inflow/OutFlow, add this new column to X-axis, as shown in the first image you posted.
Regards,
Yuliana Gu
wow thanks, I tried that before and it didn't work. this time it did. Thanks much.