Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin 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.
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.No | Date | Offer | Amount | Offer | Amount |
1 | 26.06.2025 | 49000 | 99 | ||
2 | 26.06.2025 | 49000 | 98 | ||
3 | 26.06.2025 | 49000 | 97 | ||
4 | 26.06.2025 | 30500 | 96 | ||
5 | 26.06.2025 | 30500 | 94 | ||
6 | 26.06.2025 | 30500 | 96 |
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
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)
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
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
11 | |
11 | |
10 | |
9 | |
8 |
User | Count |
---|---|
17 | |
12 | |
11 | |
11 | |
11 |