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
Ronak_1
Frequent Visitor

How to change the format on the Y-axis (% and value) on a line graph at run time in power bi

I want  line chart in my Power BI report  to show percentage value/ numeric values based on user selection in slicer with value as "%" & "#". If user select % then graph should show trend line with % values with % format and if user select # then trend line should show numeric values. I dont want to use bookmark/button for this instead of slicer selection.

If you see below image, % value selection is showing correct value in trend line but I want it with % formatting. How to achieve this.

 

Screenshot 2024-10-18 155317.png

1 ACCEPTED SOLUTION
_AAndrade
Super User
Super User

Hi @Ronak_1,

I'm attaching a pbix file with my solution.

Output:

_AAndrade_0-1729249837214.png

_AAndrade_1-1729249849929.png

 





Did I answer your question? Mark my post as a solution! Kudos are welcome.

Proud to be a Super User!




View solution in original post

3 REPLIES 3
Ronak_1
Frequent Visitor

Thanks @_AAndrade  for the solution. 

You're welcome





Did I answer your question? Mark my post as a solution! Kudos are welcome.

Proud to be a Super User!




_AAndrade
Super User
Super User

Hi @Ronak_1,

I'm attaching a pbix file with my solution.

Output:

_AAndrade_0-1729249837214.png

_AAndrade_1-1729249849929.png

 





Did I answer your question? Mark my post as a solution! Kudos are welcome.

Proud to be a Super User!




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