Forum Discussion
Custom Sorting for rows and columns for matrix
I have built a matrix that tracks specific KPIs over a specific time range along with ordered measures.
To do the ordering i had to use a "#-" naming convention (see image). I want to get rid of the "#-" but i want to keep the ordering of the KPIs, timeframe, and measuring intact. Is this possible and if so, how do i go about?
Thanks!
- Anonymous1 year ago
Hi basketballer202 ,
Thank you samratpbi for the helpful response!
Yes, you can remove the #- prefixes from your KPI names and still retain the custom sort order using Power BI’s Sort by Column feature. I have tested it using a sample table, and the clean KPI names are now sorted correctly in the desired order.
Go to Data view and select the KPI_Display.Then ,click on 'sort by column' option in the ribbon.Select KPI_Sort.Please refer the screenshots and file for your reference:
I hope this resolve your query.If so,consider accepting it as solution.
Thank you.
Regards,
Pallavi.
5 Replies
- samratpbiSuper User
Hi, For the sorting of columns you can create another column, which will contain only index. Then use Sort by another column.
For Measures, you can create a Field Parameters and then sort the measures.
If this helps to resolve your problem, then please mark it as solution, thanks - Samrat
- AnonymousNot applicable
Hi basketballer202 ,
Thank you samratpbi for the helpful response!
Yes, you can remove the #- prefixes from your KPI names and still retain the custom sort order using Power BI’s Sort by Column feature. I have tested it using a sample table, and the clean KPI names are now sorted correctly in the desired order.
Go to Data view and select the KPI_Display.Then ,click on 'sort by column' option in the ribbon.Select KPI_Sort.Please refer the screenshots and file for your reference:
I hope this resolve your query.If so,consider accepting it as solution.
Thank you.
Regards,
Pallavi. - AnonymousNot applicable
Hi basketballer202 ,
Could you please confirm if the issue has been resolved on your end? If a solution has been found, it would be greatly appreciated if you could share your insights with the community. This would be helpful for other members who may encounter similar issues.
Thank you for your understanding and assistance. - AnonymousNot applicable
Hi basketballer202 ,
I wanted to check and see if you had a chance to review our previous message or Please let me know if everything is sorted or if you need any further assistance.If it helps,consider accepting it as solution.
thank you. - AnonymousNot applicable
Hi basketballer202 ,
Following up to check whether you got a chance to review the suggestion given.If it helps,consider accepting it as solution,it will be helpful for other members of the community who have similar problems as yours to solve it faster. Glad to help.
Thank you.