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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
AmiraBedh
Super User
Super User

Line chart Y-Axis is duplicating values

I have this following measure :

 

Marge =
CALCULATE(DIVIDE (
SUM( FCTVentes[prix_vente] ),
SUM( FCTVentes[prix_achat]),0),
USERELATIONSHIP(dim_calendrier[id],FCTVentes[fk_date_vente]))

 

The result is a percentage formatted like below :

capalt_2-1653221604200.png

 

When I try to create to LineChart with a year filter like below :

capalt_0-1653221038825.png

I see that the Y-axis is duplicating values when the 2020 year is selected.

When selecting the year 2021 also, it is the same :

 

capalt_1-1653221154163.png

Also, I want that the Y-axis starts from 0 (the display), even if there is no data with 0%.


Proud to be a Power BI Super User !

Microsoft Community : https://docs.microsoft.com/en-us/users/AmiraBedhiafi
Linkedin : https://www.linkedin.com/in/amira-bedhiafi/
StackOverflow : https://stackoverflow.com/users/9517769/amira-bedhiafi
C-Sharp Corner : https://www.c-sharpcorner.com/members/amira-bedhiafi
Power BI Community :https://community.powerbi.com/t5/user/viewprofilepage/user-id/332696
1 ACCEPTED SOLUTION
amirabedhiafi
Impactful Individual
Impactful Individual

Hello,

I tried to reproduce your work like below :

 

amirabedhiafi_0-1653223288973.png

 

amirabedhiafi_1-1653223288976.png

 

 

amirabedhiafi_2-1653223288982.png

 

Amira Bedhiafi
Full Stack Business Intelligence Consultant @Capgemini

View solution in original post

2 REPLIES 2
amirabedhiafi
Impactful Individual
Impactful Individual

Hello,

I tried to reproduce your work like below :

 

amirabedhiafi_0-1653223288973.png

 

amirabedhiafi_1-1653223288976.png

 

 

amirabedhiafi_2-1653223288982.png

 

Amira Bedhiafi
Full Stack Business Intelligence Consultant @Capgemini

Whats happening there is since the range is small and the values are low it is showing the round off values. If we simply increase the decimals for the axis values it will be fixed.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors