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
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
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.