Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi Expert
Is this possible in power bi to get the previous row value and multiple the result by the current value in a another row. I have reserched online and there are a few options availble but they do not give the correct results after the first instant J7 is correct data points their after are incorrect in Power BI.
THis is what i found on line https://community.powerbi.com/t5/Desktop/How-to-refer-to-the-previous-row/td-p/529060
The image below is the power bi output which agrees with J7 in the excel image below. All other data points are wrong when compairing to excel.
The image below is an excel output.
What is the DAX you're using and what is "previous" for you? The Rank?
You're however using a recursive formula (as J8 refers to J7 which refers to J6 etc. SO to calculate J(n) you have to know all the way down to J(0)), which AFAIK does not work in PowerBI. While Excel calculate rows from top to bottom, there is no concept of "row order" in PBI.
But can you show you rmodel and DAX?
Sample File (ref to column Se_1)
https://www.dropbox.com/s/m42g4igb0di7juu/productx.pbix?dl=0
My DAX for the previous value is test case only - are in column Calculated_Column and Previous value 1 (columns)
the desireed out are the excel numebrs...
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
69 | |
68 | |
40 | |
29 | |
26 |
User | Count |
---|---|
89 | |
49 | |
44 | |
38 | |
37 |