Custom sorting in PowerBI chart -


recently came across 1 issue in need show column order per defined way in powerbi report. thing is, powerbi sorts columns in either ascending(a->z) or descending(z->a) order, if 1 has apply custom order how should achieve this?

here , example

here can see order on x-axis ascending or can show descending, if sort order respect need; may below :

1.2 wheel preview --> 1.2 gtr --> 1.2 ultra --> 1.2 rtr

, possible in powerbi desktop while creating report, if yes, guidelines followed appreciated. :)

thanks.

add column source data , populate values desired sort order. select column want custom sort , click modeling > sort column. select new column sortby column existing column, in screenshot: sortcategory column used sort order category column.

enter image description here

now create chart , categories on axis sorted according values of sortcategory column.

enter image description here


Comments

Popular posts from this blog

java - Static nested class instance -

c# - Bluetooth LE CanUpdate Characteristic property -

JavaScript - Replace variable from string in all occurrences -