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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Create a cumulative table over the years

Hello, 

 

I have a very specific question: 

I have a datatable for 2020 and values that I want to be repeating fo the coming years 

For now I have only the grey table for 2020, and I want to create the whole table for the next 5 years

But I also need to consider (for exemple saying 2022) the figures from 2020 and 2021

ConstanceTermoz_0-1620660109803.png

So I want to create inside Power Query (Or Power BI Desktop) the Cumulative Column: Once a value is added, it will be repeated every year at the same date but it will be taking into account the new values (in orange and yellow) 

 

I hope I was clear enough, 

Thanks in advance, 

Constance

1 REPLY 1
edhans
Super User
Super User

I think you are going to have to give a bit more info. I cannot tell how all of the non-gray data was created. Please see instructions below.

How to get good help fast. Help us help you.

How To Ask A Technical Question If you Really Want An Answer

How to Get Your Question Answered Quickly - Give us a good and concise explanation
How to provide sample data in the Power BI Forum - Provide data in a table format per the link, or share an Excel/CSV file via OneDrive, Dropbox, etc.. Provide expected output using a screenshot of Excel or other image. Do not provide a screenshot of the source data. I cannot paste an image into Power BI tables.



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.