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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
awg201
Frequent Visitor

Values not sorting in chart visual, but correct in table visual?

Hello, i have a small yet frustrating issue where my categories are not sorted even through i have set it to sort by column by an index.

 

I seems like it should be simple, but it just won't seem to work...

 

Here is the table... [CaseMonthAgeCohort] has the Sort by column to use the [Sort] column. Sort coumn is data type: Whole number.

awg201_1-1750743261922.png

When it is in a table visual, the category is sorted fine. But in any other visual, it is all out of order...

awg201_4-1750743482451.png

Even specifying the sort by the [AgeCategory] still does not appear correct

awg201_3-1750743461134.png

Am I missing something?

1 ACCEPTED SOLUTION
awg201
Frequent Visitor

Found the issue by luck....

 

I noticed the column had this little icon next to it

awg201_1-1750746250393.png

Apprently it is to mark it as an "ID Field". Which according to their documentation:

Identity field: Fields with this icon are unique fields, set to show all values, even if they have duplicates. For example, your data might have records for two different people named 'Robin Smith', and each is treated as unique. They aren't summed.

What is didn't explain is the implications and effect it has on the model....

 

This is set by editing the key column int he data model view:

awg201_2-1750746459207.png


In this case, I just cleared it, and BAM fixed....

View solution in original post

1 REPLY 1
awg201
Frequent Visitor

Found the issue by luck....

 

I noticed the column had this little icon next to it

awg201_1-1750746250393.png

Apprently it is to mark it as an "ID Field". Which according to their documentation:

Identity field: Fields with this icon are unique fields, set to show all values, even if they have duplicates. For example, your data might have records for two different people named 'Robin Smith', and each is treated as unique. They aren't summed.

What is didn't explain is the implications and effect it has on the model....

 

This is set by editing the key column int he data model view:

awg201_2-1750746459207.png


In this case, I just cleared it, and BAM fixed....

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.