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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
jfcarter66
New Member

Monthly Chart with Grand Total

Hello.  I have a data table similar to what is below.  I have a monthly planned volume and monthly actual volume.  I want to create a bar graph that shows the planned and actual volume monthly but also include the YTD cumulative total.  Any ideas?

 

jfcarter66_0-1748964826472.png

 

9 REPLIES 9
v-pgoloju
Community Support
Community Support

Hi @jfcarter66,

 

Just a gentle reminder  has your issue been resolved? If so, we’d be grateful if you could mark the solution that worked as Accepted Solution, or feel free to share your own if you found a different fix.

This not only closes the loop on your query but also helps others in the community solve similar issues faster.

Thank you for your time and feedback!

 

Best,

Prasanna Kumar

v-pgoloju
Community Support
Community Support

Hi @jfcarter66,

 

We wanted to kindly check in to see if everything is working as expected after trying the suggested solution. If there’s anything else we can assist with, please don’t hesitate to ask.

 

Warm regards,

Prasanna Kumar

v-pgoloju
Community Support
Community Support

Hi @jfcarter66,

 

Just following up to see if the solution provided was helpful in resolving your issue. Please feel free to let us know if you need any further assistance.

 

Best regards,

Prasanna Kumar

jfcarter66
New Member

Thank you.  Have another question.  How would I do this same task but for a fiscal year of April25-Mar 26?

Hi @jfcarter66
You need to create a Date Table/Fiscal Month column in your BI report and use the Fiscal Month.

DateTable = 
ADDCOLUMNS(
    CALENDAR(DATE(2023,1,1), DATE(2026,12,31)), //(StartDate), (EndDate)
    "Year", YEAR([Date]),
    "Month", FORMAT([Date], "MMM"),
    "Month Number", MONTH([Date]),
    "Fiscal Year", IF(MONTH([Date]) >= 4, "FY" & YEAR([Date]) + 1, "FY" & YEAR([Date])),
    "Fiscal Month Number", MONTH(EOMONTH([Date], -3)),
    "Fiscal Month", FORMAT([Date], "MMM-YY")
)

 

Thanks,
If you found this solution helpful, please consider giving it a Like👍 and marking it as Accepted Solution✔. This helps improve visibility for others who may be encountering/facing same questions/issues.

My apologies on not following what you refer to above.  I create a column in my table with the DateTable calculation you provided and get an error.  I am probably overlooking something fairlly simple.   Thank you

 

Hi @jfcarter66
I hope you want to see your data by Fiscal Year. I'm suggesting you that you have to two columns in your data which are Fiscal Month Number and Fiscal Month. Make sure Fiscal Month is sorted by Fiscal Month Number. In that way you will see only Fical year data. 

I was just refering you Date Table as a example.

ajaybabuinturi_0-1749034613456.png

Thanks,
If you found this solution helpful, please consider giving it a Like👍 and marking it as Accepted Solution✔. This helps improve visibility for others who may be encountering/facing same questions/issues.

Hi @jfcarter66,

 

Thanks for reaching out to the Microsoft Fabric Forum Community. And also thanks to @ajaybabuinturi  for Prompt and helpful solution.

 

Please try creating a separate date table in your data model using the code provided. In Power BI Desktop, you can do this by going to Modeling > New Table and entering the code there. After creating the table, connect it with your existing table. This should help you get the results you need.

 

Best regards,
Prasanna Kumar

ajaybabuinturi
Solution Supplier
Solution Supplier

Hi @jfcarter66,

You can follow the below steps

1. Make sure Month column should be date format.

2. Create Measures for YTD Cumulative

YTD Planned = CALCULATE(SUM('YourTable'[Planned]), DATESYTD('YourTable'[Month]))
YTD Volume = CALCULATE(SUM('YourTable'[Volume]), DATESYTD('YourTable'[Month]))

3. Select the “Line and Clustered Column Chart”

Axis : Month

Column Y-axis : Planned, Volume

Line Y-axis : YTD Planned, YTD Volume

Please let me know if you have any questions.

Thanks,
If you found this solution helpful, please consider giving it a Like👍 and marking it as Accepted Solution✔. This helps improve visibility for others who may be encountering/facing same questions/issues.

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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