cancel
Showing results for
Did you mean:

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Frequent Visitor

## How use the secondary axis not for a series but for a conversion of the main series

Hi,

I searched this problem in others topics but I didn't find it.

I have a series of data and I would like to use the secondary axis to show its values "converted" to another scale.

For example, let say I have a serie of measurements of a temperature in Celsius, but I would like to show their conversion to Kelvin on the right axis: can I do it?

Every topic I found about the "right axis" is always about the standard use of secondary axis (so, about another serie to show).

I tried creating a new column with the values in Kelvin and to show it as secondary axis, but in this way the two y axis are not linked (or syncronized), and the two series doesn't overlap.

I would like to have just one serie in my graphic, and be able to see on the left the value in Celsius and on the right the value in Kelvin.

As last notice: my question is "general" and the Celsius/Kelvin is just an example, so I cannot simply foce the minimum and the maximum of the axis to some fixed value matching between Celsius and Kelvin.

Thank you very much !

1 ACCEPTED SOLUTION
Super User

Unfortunately there is no something to do if you need it dynamically and responisive.

If it static you can preper second axis on power point or others and paste in the needed place

5 REPLIES 5
Super User

Hi @FP
In the standard situation, we can sort the graph by all axes.

In your example, the problem is that the X-axis is numeric too.

Change this column's data type to text, this will give you an option to sort:

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Frequent Visitor

Hi Ritaf1983,

Unfortunately, I'm not understanding the link between my problem and sorting axis : my issue is not about sorting the X axis, but about showing on the right y axis a conversion of the values in the left y axis (on the left I have the Celsius temperature, on the right I would like the temperature converted in Kelvin degree), without adding a second series.

Probably I havan't explained myself, sorry for that.

Kind regards

Francesco

Super User

Hi @FP
Okay, sorry for the misunderstanding.

Now I see that your problem is a proportion.

Celsius isn't equal to 1 Kelvin degree, so this just can't be on the same height of axes.

You need to split this graph into 2 separate graphs.

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Frequent Visitor

Celsius aren't LKelvin, but for any Celsius there is the corresponding value in Kelvin, so I was hoping it would be possible to graph the conversion of the left y axis on the right y axis (not only for Celsius/Kelvin, also for meters/yards, kg/lb...).

I will wait to see if someelse has some ideas/trick 🙂

Super User

Unfortunately there is no something to do if you need it dynamically and responisive.

If it static you can preper second axis on power point or others and paste in the needed place