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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
lotus22
Helper III
Helper III

How to show % increase on a Bar Chart?

Team, any support is helpful. How can I show a percentage increase with multiple charts on the same value on the X-axis? I have not shown the X-axis. Basically, it has a supplier, and each supplier has a growth rate of multiple years. Four graphs show Years W, X, Y, and Z for supplier A. The growth from 3.8 to 5.1 is 33%. It is always between the first year and the last year (W and Z in this case).

 

lotus22_0-1715869043351.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @lotus22 ,

I'm not sure I'm understanding you correctly. I think you are trying to show these three percentage numbers in this chart?
But it's unlikely that you'll be able to implement this format in this visual object:

vjunyantmsft_0-1715910040401.png

I recommend that you use this visual object:

vjunyantmsft_1-1715910113753.png

And use this DAX to create a measure:

Measure = 
VAR _maxyear =
CALCULATE(
    MAX('Table'[Year]),
    ALL('Table')
)
VAR _minyear =
CALCULATE(
    MIN('Table'[Year]),
    ALL('Table')
)
VAR _max = 
CALCULATE(
    SUM('Table'[Value]),
    ALLEXCEPT('Table', 'Table'[Type]),
    'Table'[Year] = _maxyear
)
VAR _min = 
CALCULATE(
    SUM('Table'[Value]),
    ALLEXCEPT('Table', 'Table'[Type]),
    'Table'[Year] = 
    _minyear
)
RETURN
(_max - _min) / _min

Create the visual and the final output is as below (I changed the font color of the data labels for clarity) :

vjunyantmsft_2-1715910170771.png


Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @lotus22 ,

I'm not sure I'm understanding you correctly. I think you are trying to show these three percentage numbers in this chart?
But it's unlikely that you'll be able to implement this format in this visual object:

vjunyantmsft_0-1715910040401.png

I recommend that you use this visual object:

vjunyantmsft_1-1715910113753.png

And use this DAX to create a measure:

Measure = 
VAR _maxyear =
CALCULATE(
    MAX('Table'[Year]),
    ALL('Table')
)
VAR _minyear =
CALCULATE(
    MIN('Table'[Year]),
    ALL('Table')
)
VAR _max = 
CALCULATE(
    SUM('Table'[Value]),
    ALLEXCEPT('Table', 'Table'[Type]),
    'Table'[Year] = _maxyear
)
VAR _min = 
CALCULATE(
    SUM('Table'[Value]),
    ALLEXCEPT('Table', 'Table'[Type]),
    'Table'[Year] = 
    _minyear
)
RETURN
(_max - _min) / _min

Create the visual and the final output is as below (I changed the font color of the data labels for clarity) :

vjunyantmsft_2-1715910170771.png


Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

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
Top Kudoed Authors