cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

Column sorting

Hello everyone,

Why can't I initially sort the "KPI" column by the "ORDER" column, because of the repeated data?

 

img.JPG

But when I remove duplicates, I manage to sort.

 

img3.JPGimg2.JPG

 

And when I exclude the removal of duplicates, does the "KPI" column remain ordered by the "ORDER" column even with the duplicates?

 

img4.JPG

3 REPLIES 3
Highlighted
Super User II
Super User II

Hi @XTF_2020 

if you want to sort KPI 1 by column Order which order should be taken 1 or 3? It's the same with KPI 2: 2 or 4?

The sort order must be distinct!

 

With kind regards from the town where the legend of the 'Pied Piper of Hamelin' is at home
FrankAT (Proud to be a Datanaut)

 

 

 

Highlighted

Hi @FrankAT 

 

The classification in this last image is correct, there are duplicates for the KPI, but they are different calculations.

My question is why the KPI column does not sort on the first attempt, but only when removing as duplicates and subsequently excluding a duplicate removal step with it left in order.

Highlighted

It looks like an interesting finding. I will probably use it as a trick in some sorting scenarios. Thanks. @XTF_2020 

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Community Conference

Microsoft Power Platform Communities

Check out the Winners!

secondImage

Create an end-to-end data and analytics solution

Learn how Power BI works with the latest Azure data and analytics innovations at the digital event with Microsoft CEO Satya Nadella.

Top Solution Authors
Top Kudoed Authors