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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
Anonymous
Not applicable

Migrating from Excel -Calculated Column Help

Hi All

 

First off, im still pretty new to PBI - I am migrating all our excels to PBI and for the most part its a dream and so intuitive. The forum has been such a help for finding ways to do things that excel would do in a formula. So thanks to all the supporters in here. 🙂

 

For my problem, I have been stumped by one column and i honestly cannot figure out. Myabe becuase i dont undertsand the technicaltities of PBI.

 

I have a table that shows units recieved and units shipped by month starting from day zero. Along side this i have a Work in Progress column which in excel was quite easy (previous WIP figure + current month Received Figure - Current month Shipped figure = WIP figure) Kind of a running total.

 

How would i replicate this?

 

WIP.JPG

1 ACCEPTED SOLUTION

@Anonymous 

pls try this to create a column

Column = sumx(FILTER('Table','Table'[month]<=EARLIER('Table'[month])),'Table'[received])-sumx(FILTER('Table','Table'[month]<=EARLIER('Table'[month])),'Table'[completed])

1.PNG





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

Proud to be a Super User!




View solution in original post

7 REPLIES 7
ryan_mayu
Super User
Super User

@Anonymous 

is the screenshot your rawdata? do you want to create a column or measure to achieve this.





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

Proud to be a Super User!




Anonymous
Not applicable

Hi @ryan_mayu - I wasnt expecting anyone to repsond so fast.

 

That was my excel version, my PBI version only has the date, recieved and completed in and i would like an additional column that calclated the WIP. 

 

WIP.JPG

 

thank you 🙂

@Anonymous 

i am a little confused. Your first request is asking to create WIP column. Then what's the calculation logic of receive and complete column.

 





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

Proud to be a Super User!




Anonymous
Not applicable

Apologies I'm not sure why you needed to know about the other two columns. The received and shipped columns are taken from a sql query and grouping by month. 

@Anonymous 

pls try this to create a column

Column = sumx(FILTER('Table','Table'[month]<=EARLIER('Table'[month])),'Table'[received])-sumx(FILTER('Table','Table'[month]<=EARLIER('Table'[month])),'Table'[completed])

1.PNG





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

Proud to be a Super User!




Anonymous
Not applicable

It worked! 🙂 Thank you @ryan_mayu  for your help.

WIP.JPG

 Just a note for anyone else who finds this, you dont put the colmn in the 'Transform Data' section, its in the Data section (within the main PBI window)

you are welcome





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

Proud to be a Super User!




Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.