Skip to main content
cancel
Showing results for 
Search instead 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

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

 

Screenshot 2023-10-05 145959.png

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

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

View solution in original post

5 REPLIES 5
Ritaf1983
Super User
Super User

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

Ritaf1983_0-1696511798594.png

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

Ritaf1983_0-1696512092263.png

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

Ritaf1983_1-1696512959916.png

Link to the file with an example 


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

FP
Frequent Visitor

Hi Ritaf1983,

and thank you for your answer.

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

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

FP
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 🙂

 

Thank you for your answer and your time

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

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

Find out what's new and trending in the Fabric Community.