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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.

Top Solution Authors