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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Sandeep_1992
New Member

Referring Same Column - Previous Value

Hi Everyone, 

 

Question : Can we refer to same column previous value in power bi calculated column ? Like in excel if i need to calculate a cell value i can refer to the cell value above and calculate the function is it possible here.

 

I tried to do it gives me circular dependency if i refer same column

 

Situation : I have these colums below - I need calculate if date is equals today then its value from a measure if date is > today then its should multiply same column previous value with ( Cycle time - 1) /(Cycle time+(New Offer - Amount - Column 1) )eg: Hot Leads Amount S. no one answer is equal to today date then it would be 66. but, Hot Leads S.No 2 - as its greater then today it should calculate HotLeads_Amount S.No 1 * 3 -1/ 3+New Offer_ Amount S.No

 

  Hot Leads New Offer 
S.NoDateOfferAmountOfferAmount
126.06.2025  4900099
226.06.2025  4900098
326.06.2025  4900097
426.06.2025  3050096
526.06.2025  3050094
626.06.2025  3050096
4 REPLIES 4
v-lgarikapat
Community Support
Community Support

Hi @Sandeep_1992 ,

Thanks for reaching out to the Microsoft fabric community forum

 

To help us understand your issue better, please share sample data that clearly shows the problem (in text or table format, not a screenshot), without including any sensitive or unrelated information, and also show the expected result based on that data. If possible, share the PBIX file as well, provided it doesn’t contain any sensitive information.

 

Looking forward to your response.

 

Best Regards,

Lakshmi Narayana

 

FBergamaschi
Resolver I
Resolver I

It is possible to do this but your message in unclear to me

 

Cycle time and Column 1 are not in the table you provided and the description is difficult to understand

 

Pls provide all the tables and columns, including dates before and after today, and include examples of the calculation result you are looking for writing that in a more extensive way so I can help better and provide the answer

 

Thanks

Column 1 = which i mentioned is in the NewOffer_Amount S.no 1 as Column 1 the value is 99

Cycle time = I dont have in the table its a static input like 3 months or 6 months i can be changed

 

Below excel snapshot i want to build that in power bi - the formula i want is = =IF(AND(D24=$H$6;E24=$H$7);'ST'!$T$88;IF(OR(D24>$H$6;E24>$H$7);N23*($I$10-1)/$I$10+P23;0))

D24 = Month

E24 = Month

ST T88 - I have a measure which gives this value lets say it 66

N23 = Same Column above row ( For eg:- I'm calculating n24 its n23, n25 then its n24)

I10 = Cycle time, which is again a measure value i want to add 

p23 = last column in the excel newly generated per month fields - Amount Column ( This value also to be takne previous cell like for N24 it should take p23)

Sandeep_1992_0-1750927354696.png

 

 

If you copy and paste the table here so I can copy and put iit in power BI I can try

 

Not pictures, copy the table in such a way I can use it

 

Best

FB

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

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.