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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
apessanha
New Contributor

Problem creating a graph with accumulated columns

 

Hello, I'm new to the forum and would like help with a question related to column charts in Power Bi.

Today we have a report at the company that compares the current month with the previous month. However, the graph (excel) has two columns at the end of the graph, after "December", there are two columns with the accumulated 2023 and 2024.
In powerbi, I was able to make the graph, but with the X axis in "Year_month". If I enter the month and compare the years, it gives an error.

Can you help me?

Below is an image of what the graph should look like.Grafico Excel.gif

 

 

3 REPLIES 3
lbendlin
Esteemed Contributor III

What's the error message?

 

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).

Do not include sensitive information. Do not include anything that is unrelated to the issue or question.

Need help uploading data? https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...

Please show the expected outcome based on the sample data you provided.

Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

apessanha
New Contributor

Hello, lbendlin.
So the problem I have to work around is this: I have a calendar base and a complaints facts base.

From this facts base, we extract the demand and complaints, ok!
In my model, we have the measures "total complaint", "total demand", "performance index", "previous year index" and "previous year demand".
I need to compare the performance index of the current year against the previous year, projecting this in a column chart.
This graph needs to have after the month of December, the cumulative of the current year and the previous year.
Ex:. Jan, Feb, Mar.... ten, current year, the previous one.

Is it possible to create this look?

lbendlin
Esteemed Contributor III

second request: Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).

Do not include sensitive information. Do not include anything that is unrelated to the issue or question.

Need help uploading data? https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...

Please show the expected outcome based on the sample data you provided.

Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Helpful resources

Announcements
Top Kudoed Authors
Users online (6,084)