Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
sufiyanakhtar
Helper I
Helper I

Column Chart Query

Hey Power Users,

I am comparatively new to Power BI and would lilke to explore the complete functionality and capabilites. I have a question regarding bar graphs. I want to display multiple values on a the same bar graph on the same bar. For example lets say Sales from last year and this year. I want to display these values on the same bar graph on a single bar rather than having two bars for each year. Is there any solution to this. I want something like this: (The bars represent sales from current year and the teal lines represent sales from last year)

sufiyanakhtar_0-1646631137157.png

 

Please help me to understand if this is possible in Power BI. Thank you beautiful people!!!

1 ACCEPTED SOLUTION
v-rongtiep-msft
Community Support
Community Support

Hi @sufiyanakhtar , 

I have created a simple sample. Please refer to my pbix file to see if it helps you.

vpollymsft_0-1646876395836.png

Split the years if they are in the same column.

vpollymsft_1-1646876466074.png

Then choose the line and stacked column chart.

vpollymsft_2-1646876584448.png

Then Place the corresponding column in the appropriate position.

vpollymsft_3-1646876681752.png

Then enable the Markers and adjust the Marker size.

vpollymsft_4-1646876841967.png

Finally,  change the Stroke width to 0.

vpollymsft_5-1646876989103.png

vpollymsft_6-1646877053545.png

If I have misunderstood your meaning, please provide your pbix file without privacy information and desired output.

 

Best Regards

Community Support Team _ Polly

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

3 REPLIES 3
asitm
Helper III
Helper III

@sufiyanakhtar 

A better way could be to use an overlap chart or lipstick column chart to get the same results

v-rongtiep-msft
Community Support
Community Support

Hi @sufiyanakhtar , 

I have created a simple sample. Please refer to my pbix file to see if it helps you.

vpollymsft_0-1646876395836.png

Split the years if they are in the same column.

vpollymsft_1-1646876466074.png

Then choose the line and stacked column chart.

vpollymsft_2-1646876584448.png

Then Place the corresponding column in the appropriate position.

vpollymsft_3-1646876681752.png

Then enable the Markers and adjust the Marker size.

vpollymsft_4-1646876841967.png

Finally,  change the Stroke width to 0.

vpollymsft_5-1646876989103.png

vpollymsft_6-1646877053545.png

If I have misunderstood your meaning, please provide your pbix file without privacy information and desired output.

 

Best Regards

Community Support Team _ Polly

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

amitchandak
Super User
Super User

@sufiyanakhtar , Cluster line visual, Put one of them on line. Enable Marker(Under shape) and make the width of line 0 under shape, That should give you this visual

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.