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
Anonymous
Not applicable

Plot line and bar graph for each year

Hi Experts

 

Is it possible in power bi to plot and bar and line graph for each period as shown in the image below. show i want a line and bar graph for the periods 2016, 2017 , 2018 and 2019.....  i can plot the bars for the individual periods but the line graph total sales plots for the full range 2016 to 2019...

 

when i try and calulcate sale for 2016 and add that to the 2016 bar graph data i get a dot.... the graph on the right is what i am trying to achieve....

Capture.PNG

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

@Anonymous ,

 

You may drag [Year] to Shared axis in Line and clustered column chart.

Community Support Team _ Sam Zha
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

2 REPLIES 2
v-chuncz-msft
Community Support
Community Support

@Anonymous ,

 

You may drag [Year] to Shared axis in Line and clustered column chart.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

many thanks for the feedback. that worked.

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.