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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Percent Change Between Values on Line Chart

My query is almost identical to this one: https://community.powerbi.com/t5/Desktop/Percent-Change-Between-Values-on-Line-Chart/td-p/957563

However I am new to Power BI and my formulae creating is not that great so i am seeking some help to create the formula specific to my measures. I attempted to follow the formula suggested in the previous thread however I am getting some errors, maybe i am not using the right measures and fields.

Below is what the graph looks like:

linegraph1.png

 

 

 

 

 

Below are the fields/measures used to create the line graph:

fieldsused.PNG

How can I show the percentage difference between the values in the 2 lines, either in tooltip or as a visual on the graph?

Thanks!!

3 REPLIES 3
Anonymous
Not applicable

Thanks both!

v-lili6-msft
Community Support
Community Support

hi  @Anonymous 

Yes, you could get it by this simple way as below:

Step1:

Just create a percent change measure as bleow:

Percent Change=DIVIDE([Line 1]-[Line 2],[Line 2])

Step2:

Then drag this measure into Column values as below

5.JPG

 

Of course, you could set the column for column to white

6.JPG

 

 

Regards,

Lin

Community Support Team _ Lin
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

@Anonymous ,These are two measures you can create a measure put that on tool tip

 

Diff % =divide([line1]-[line2],[Line2])

or

Diff  =[line1]-[line2]

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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