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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Adding starting value to column

Hi all,

 

I am trying to get a  Power BI version of this excel formula

 

December 2020 January 2021 
100=B2+SUMIF(....)
200B3+SUMIF(....)

 

Currently I have a table with the December 2020 values and another table with the values from Jan 2021-Dec2021

 

Is there a way to add the December values to January and the sum of that to Februrary and so on?

 

I assume it may have to do with creating calculated columns?

 

Thank you in advance!

2 REPLIES 2
v-kelly-msft
Community Support
Community Support

Hi @Anonymous ,

 

What is the data structure of values in Dec 2020?Does Dec 2020 only have 2 values?How to add the values to 2021?Are the values added correspondly on each row?

 

If possible,could you pls provide some sample data with expected output?I would help to create the calculated column.

 

Best Regards,
Kelly

Did I answer your question? Mark my post as a solution!

mahoneypat
Microsoft Employee
Microsoft Employee

Looks like you should unpivot all your month columns and then create a running total measure.

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.

Top Solution Authors