Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Dear Friends,
How can I create a column with shown calculation attached in Power BI? Is there any way to do calculations based on upper and lower row values in the same column?
Thanks for help.
Regards,
Ayaz
Solved! Go to Solution.
HI @Anonymous ,
Power bi not contains row/column index,you can't direct compare with specific rows.
In my opinion, I'd like to suggest you add or use existing index fields as lookup keys to find out current row and previous row records. Then you can add variables to store extract values and do compare with them.
Regards,
Xiaoxin Sheng
HI @Anonymous ,
Power bi not contains row/column index,you can't direct compare with specific rows.
In my opinion, I'd like to suggest you add or use existing index fields as lookup keys to find out current row and previous row records. Then you can add variables to store extract values and do compare with them.
Regards,
Xiaoxin Sheng