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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
marcobi
Helper I
Helper I

add conditional column

Hello!

I have this table. Relevant for us are the columns [Nummer], [Saldo] and [Date].

 

For each Month there is 1 row in [nummer]. I just want to add a column [saldo previous month] where it takes the corresponding value from [saldo] from the same [nummer] from last month.

 

I've made an example in the picture below. There is also a pbix file here: https://1drv.ms/u/s!ArzXZfC_jkl3gch6T5Ssb4Rjue6Cww?e=oSyWho

marcobi_0-1668416231934.png

Can somebody help me to add this conditional column? I really don't get it how to code this column. 

Thank you!

Marco

 

1 ACCEPTED SOLUTION
mangaus1111
Solution Sage
Solution Sage

Hi @marcobi ,

see my pbi file . I hope it works for you.

https://1drv.ms/u/s!Aj45jbu0mDVJi1fpb7mb9D8yvJKS?e=xIWcIp

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
marcobi
Helper I
Helper I

thank you very much!

mangaus1111
Solution Sage
Solution Sage

Hi @marcobi ,

see my pbi file . I hope it works for you.

https://1drv.ms/u/s!Aj45jbu0mDVJi1fpb7mb9D8yvJKS?e=xIWcIp

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
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.