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
cherryguille
New Member

Power Bi does not order with custom column

Hi,

 

I am having a littel bug with my table and maybe someone can help me. I have one little table of 10 rows with two a few columns. I have created a new custom column that sum two whole numbers.

Captura de pantalla 2017-10-10 a las 0.01.16.png

After, i created a table with an id and the new field. 

Here comes the problem, after created the table I sort the table with the new field and the row that should be the first is on the middle of the table.Captura de pantalla 2017-10-10 a las 0.18.50.png

 

 

 

I do no understand that, because is a simple table with a sum of two whole numbers and no more.

 

Maybe someone know something about this kind of bug/mistake?

 

Keen regards,

William

2 ACCEPTED SOLUTIONS
Gazzer
Resolver II
Resolver II

That looks like it is sorting alphabetically, rather than numerically.

Check that the field is actually a number and not text.

The fact that the numbers are left aligned and not right aligned would seem to back this up.

View solution in original post

v-haibl-msft
Employee
Employee

@cherryguille

 

Please change type of the custom column as Gazzer said.

 

Power Bi does not order with custom column_1.jpg

 

Best Regards,
Herbert

View solution in original post

3 REPLIES 3
v-haibl-msft
Employee
Employee

@cherryguille

 

Please change type of the custom column as Gazzer said.

 

Power Bi does not order with custom column_1.jpg

 

Best Regards,
Herbert

Good morning @v-haibl-msft , @Gazzer, that was the problem. The new costum column it is not whole number, i change the format and it already work, thank you both.

 

 

 

Gazzer
Resolver II
Resolver II

That looks like it is sorting alphabetically, rather than numerically.

Check that the field is actually a number and not text.

The fact that the numbers are left aligned and not right aligned would seem to back this up.

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.