Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hi,
I have a column chart visual with two columns. Is it possible to separate the columns on the x-axis? Thanks in advance for any help.
Solved! Go to Solution.
Hi, @OttoKnoke ;
Clustered column chart aligns with each labels and group by legends, not support auto fit them. I'd like to suggest you post this requirement to ideas.
Or you could add another table such as:
1. create a table.
Legend = ADDCOLUMNS( UNION( VALUES('financials'[Year]),{BLANK()}),"rank",IF([Year]=2013,1,IF([Year]=2014,3,2)))
2.create a measure.
sum = CALCULATE(SUM(financials[ Sales]),FILTER('financials',[Year]=MAX('Legend'[Year])))+0
3. sort by rank column.
The final show:
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @OttoKnoke ;
Clustered column chart aligns with each labels and group by legends, not support auto fit them. I'd like to suggest you post this requirement to ideas.
Or you could add another table such as:
1. create a table.
Legend = ADDCOLUMNS( UNION( VALUES('financials'[Year]),{BLANK()}),"rank",IF([Year]=2013,1,IF([Year]=2014,3,2)))
2.create a measure.
sum = CALCULATE(SUM(financials[ Sales]),FILTER('financials',[Year]=MAX('Legend'[Year])))+0
3. sort by rank column.
The final show:
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @OttoKnoke ;
You could add a blank measure then put it into visual.
Measure = BLANK()
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks, I did your solution, but who does for the blank measure to not show in the legend?
If you have related dimension tables you can add a column from the dimension table to separate the x axis. In your example above, you should have a measure created for the sum of the amount and a related dimension table with a column containing open/closed. The example below shows a column chart with a measure in the value and three dimensions on the x-axis.
If this post helps to answer your questions, please consider marking it as a solution so others can find it more quickly when faced with a similar challenge.
Proud to be a Microsoft Fabric Super User
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
101 | |
80 | |
65 | |
42 | |
41 |
User | Count |
---|---|
97 | |
62 | |
55 | |
48 | |
48 |