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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Ordering Number

HI All,

Is there a way to show number order of X, 1 2 3 4 5...?

Thanks,

question 2.PNG

1 ACCEPTED SOLUTION

Hi @Anonymous ,

 

we can keep origin column as text type, then create a new calculate column as decimal number

 

rank = VALUE('Table'[Order Number])

5.PNG

 

Then put the new column into the tooltips field of chart.

 

6.PNG

 

At last we can sort by this rank column to meet your requirement.

 

7.PNG8.PNG

 

 

 

BTW, pbix as attached.

 

Best regards,

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

7 REPLIES 7
v-lid-msft
Community Support
Community Support

Hi @Anonymous ,

 

How about the result after you follow the suggestions mentioned in my original post?

 

Best regards,

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
amitchandak
Super User
Super User

Your question is not very clear. Can you please provide an example.

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
Anonymous
Not applicable

Hi,

 

The X asix of graph shows number

0.5  0.7  1  1.5 10  12  14  16  18  2  20 . . .

 

I want the number order like

 0.5  0.7  1  1.5  2  3  4 . . . 10 11 12 13 . . . 20 21 22 . . .

like number ascending , Does it now make sense?

 

thank you,

CL

 

First of all, check, if this field is marked as a number in the data model, or can you make it as a number. Will that work out? (or Do you want to make it a number)

 

Else you need to have a new column in number format. refer 

https://docs.microsoft.com/en-us/dax/value-function-dax

 

and define that column as a sort column for this one. 

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
Anonymous
Not applicable

Hi,

 

Thanks for the replying.

the column is text type, but if i changed it to number type, then the decimal number will be changed..

is there any ways that i can keep the column text type but order them as ascending?

 

thnk you,

CL

Hi @Anonymous ,

 

we can keep origin column as text type, then create a new calculate column as decimal number

 

rank = VALUE('Table'[Order Number])

5.PNG

 

Then put the new column into the tooltips field of chart.

 

6.PNG

 

At last we can sort by this rank column to meet your requirement.

 

7.PNG8.PNG

 

 

 

BTW, pbix as attached.

 

Best regards,

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

You have to create a new column based on this in number format and define that column as a sort column for this. else you have to use padding to make sure that single-digit numbers are sort before. 

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors