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
Tieryn
Regular Visitor

Base 2 Log Scale Axis

I've gotten the log scale working, but it's only base 10 - 1/10/100/1000...

 

I'd like to have a base 2 log scale 1/2/4/8/16/32/64 etc, is this possible?

 

Cheers,

Chris

1 ACCEPTED SOLUTION

Hi @Tieryn ,

 

Do you mean that your x-axis is out of order? You could sort it again.

4-1.PNG

 

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

View solution in original post

5 REPLIES 5
amitchandak
Super User
Super User

The information you have provided is not making the problem clear to me. Can you please explain with 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

I've got a column chart plotting # of cases run at different parallel scales. In general the number of cores you use works on a base 2 scale.

 

Data might look like the following... When this is plotted as "Count of Cases by Cores" on a Log-X-Axis, the values don't cluster well with the vertical ticks - as the section are 1-10, 10-100, 100-1000. I'd like the axis to be log-scale but base 2... So the axis values read 1-2-4-8-16-32-64 (or perhaps with the below data, values might be 1-8-64-512-4096 but things would land on the vertical lines splitting the X-axis, rather than being awkwardly spread around them.

 

# Cores | # Cases

     1      |     300

     2      |     190

     4      |     520

     8      |     100

   16      |     460

   32      |     350

   64      |     800

 128      |     920

 256      |     310

 512      |     290

1024     |     550

2048     |     630

4096     |     120

 

 

Hi @Tieryn ,

 

Change the x-axis as categorical in the format option.

2-1.PNG

 

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

Hi @v-eachen-msft , Thanks for that idea, however that then ranks the x-axis based on the size of the y-axis... Which is not horrible, but certainly doesn't show any trends along the now jumbled x-axis (ie, data goes "16, 8, 64, 1, 32, ..."

 

It's a better visual than what I had before, but still not ideal as changing the log base. (but will do for now)

 

Cheers,

Chris

Hi @Tieryn ,

 

Do you mean that your x-axis is out of order? You could sort it again.

4-1.PNG

 

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

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