I have a table Like this,
Table1
ColA ColB
Orange Apple
Mango Not Apple
Mango Not Apple
I want to create a column called as RowNumber using DAX and not Query Editor (M).
So the Expected output is,
ColA ColB RowNumber
Orange Apple 1
Mango Not Apple 2
Mango Not Apple 3
This can be done in M - Power Query Side.
But, I am looking for a solution using DAX- Calculated Column.
I expected functions like RowNumber (T-SQL) or Index to be present inside DAX.