Create an Index by Group in Power BI | Power Query, SQL Comparison and M Code