Forum Discussion
Kolumam
Post Prodigy
7 years agoDifference between rows in direct query
Hi All, I wanted to calculate the difference between the rows. Is it possible in direct query using power query or calculated column or measure? Please help. See below pic.
dearwatson
Continued Contributor
7 years agoHi Koluman
Basically you can create 2 index columns and then self-join the columns to get the "previous row" value
then you just subtect them
here's a detailed post about ti
Cheers
Greg
- Kolumam7 years ago
Post Prodigy
Hello,
Your solution doesn't work in direct query. It will work in import mode. Is there any other method? dearwatson