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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi ,
I have this requirement where i have one column from which i need to get the Diff_amount and %Change
The column Diff_amount and % change contains large rows, so i need to replicate the same formula for this column.
With excel i can easily perform a drag and drop operation. How this can be performed in powerbi adding a calculated columns.
Solved! Go to Solution.
In Power BI, rows in table has no sequence internal. So if you want to handle some "previous/next" scenario on row level, you must create an index column in your table. You can do it in Query Editor. Then you can create your calculated column based on this index column easily.
Regards,
Hi,
Unfortunately your solution did not worked. Any other idea?
In Power BI, rows in table has no sequence internal. So if you want to handle some "previous/next" scenario on row level, you must create an index column in your table. You can do it in Query Editor. Then you can create your calculated column based on this index column easily.
Regards,
Hey,
first create a calculated column using the LOOKUP() function
LOOKUPVALE('yourtable'[Amount], 'yourtable'[Year],'yourtable'[Year]-1) - 'yourtable'[Amount] for DiffColumn (or the other way round)
then, just create a calculated column using both columns
Hope this helps
Regards
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!