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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors