Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
How do I get Bar Graph to have more space and line up with it's data source?
What I have:
Spacing and line up I'm wanting:
Hi @inglexjc,
As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.
Regards,
Vinay Pabbu
Hi @inglexjc,
As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.
Regards,
Vinay Pabbu
Hi @inglexjc,
If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it !
Regards,
Vinay
Swap from clustered to stacked bar chart, and move the field in the legend to categories
When I do that:
I get this:
create a table like this
yAxis =
DATATABLE(
"measure", STRING,
{{"a"}, {"b"}, {"c"}}
)
and a measure
xAxis =
SWITCH(
SELECTEDVALUE( 'yAxis'[measure] )
,"a", [a],
"b", [b],
"c", [c]
)and add to a stacked bar chart
Do I have to do a, b,c I want it to read Offline 3-4 weeks ect. Also what am I doning wrong if I can have it list out the weeks?
Looks like table worked:
The xAxis measure is not working.
A, b, c was a example
Your error doesn't make sense in context of the measure that is shown.
The measure will only work if [offline ..] are measures, not columns.
They are measures, so what do I do?
I'm guessing there isn't a solution to this?
Does this help?
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.