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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
UncleLewis
Resolver IV
Resolver IV

Custom Number Format Line Chart Y Axis

Hi all,

 

Is it possible to get a custom number format on the Y Axis?
I formatted for thousands, but now zero shows as 0.0K, I would prefer a "-" for zero.

Thanks,

-w

1 ACCEPTED SOLUTION
MahyarTF
Memorable Member
Memorable Member

Hi,

Not sure if there is any solution, where the Y Axis format is as a number(decimal), but the "-" is char type.

if you don't want to show the 0.0 value, then you could change the Minimum Range of the Y-Axis and start it > 0 

MahyarTF_0-1669542656356.png

Appreciate your Kudos and please mark it as a solution

Mahyartf

View solution in original post

2 REPLIES 2
PaulDBrown
Community Champion
Community Champion

Line/clustered column/bar charts require a numerical value for the values to be displayed. If you change 0 to "-" it will become text





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






MahyarTF
Memorable Member
Memorable Member

Hi,

Not sure if there is any solution, where the Y Axis format is as a number(decimal), but the "-" is char type.

if you don't want to show the 0.0 value, then you could change the Minimum Range of the Y-Axis and start it > 0 

MahyarTF_0-1669542656356.png

Appreciate your Kudos and please mark it as a solution

Mahyartf

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Kudoed Authors