I am creating a custom calendar table that covers several years. I want to create an index for things like fiscal month or week.
If I was using excel and the fiscal month was in column A and the fiscal month index was in column B, then I would write a formula like =if(A2<>A1,B1+1,B1) and copy it down the sorted column.
Basically I want to add 1 if there is a change in value for a specific column.
I'm not sure how this is done in Power Query.
Thanks,
Bill
If I was using excel and the fiscal month was in column A and the fiscal month index was in column B, then I would write a formula like =if(A2<>A1,B1+1,B1) and copy it down the sorted column.
Basically I want to add 1 if there is a change in value for a specific column.
I'm not sure how this is done in Power Query.
Thanks,
Bill