Hi @varunkale ,
In addition to Greg_Deckler 's reply, after you do some transformation in Power Query Editor. I think your table will look like as below.
Then you can create calculated columns to achieve your goal.
FILTER ( 'Table', 'Table'[Index] = EARLIER ( 'Table'[Index] ) ),
Create a table visual by [Combinations] column and distinct count index column.
Result is as below.
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.