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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.