This is a short video explaining how we can use the built in rownumnber function to assign the row number in power bi. Previously we use to get the rownumber using few work arounds and it was complex and slow as well.
However with the new release, this is very easy and faster.