Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago

Start from second row in column

Hi,
I need to calculate theta angle in Power BI.
Like in Excel:

First row needs to be zero and the rest rows goes:

5163 needs to by dynamic based on data so i choose to get MAX value from added Index row in Power Query

So first row in power BI needs to be 0 and the rest needs to be based on previous value

I got 3 problems because:
1) I dont know how to set first value to 0 when I try to add new column
2) I cant use the function Earlier because in the first row it tries to get data from non existing row
3) Can you actually start function to work from second row ?

1 Reply