Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
BaltoLo
Helper I
Helper I

Sort by column not working because of duplicate values, there are none

Hello, i am trying to sort this Diagram

BaltoLo_0-1608732280751.png

by the ThemenID of this table

 

BaltoLo_1-1608732320698.png

Since it does not seem to happen automatically and sorting by decreasing put T10, T11, T12 and T13 before T2, I tried the Sort by column operator on Thema by ThemenID which throws the following error message

BaltoLo_2-1608732420769.png

but there are no duplicate values between Thema and ThemenID.

Is there an easy solution for this or am even able to just sort the diagram by hand?

 

Thanks in advance

 

1 ACCEPTED SOLUTION
Pragati11
Super User
Super User

HI @BaltoLo ,

 

If I see your data there are duplicate values for THEMA column with more than one value in THEMAID column. See the screesnhot below:

Pragati11_0-1608733015206.png

So, in this situation how can you sort a value having 2 values in ID column.

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

View solution in original post

4 REPLIES 4
Pragati11
Super User
Super User

HI @BaltoLo ,

 

If I see your data there are duplicate values for THEMA column with more than one value in THEMAID column. See the screesnhot below:

Pragati11_0-1608733015206.png

So, in this situation how can you sort a value having 2 values in ID column.

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

I am a bit embarrassed that I did not see that myself after looking at it multiple times. Thanks. I looked up the problem in SQL and it seems like the second one has a backspace afterwards which is why there a two.

Hi @BaltoLo ,

 

Nothing to be embarassed about it. I myself tend to make similar mistakes looking at the data multiple times.

 

Glad you can fix it now.

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

amitchandak
Super User
Super User

@BaltoLo , Looking at this data it should mark id as sort column.

Can you share a sample pbix after removing sensitive data.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.