Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi
I am wanting a Y-axis with a scale of 0 to 1, but PowerBi insists on including 0.5 on the Y-axis. The data being provided to the line chart will always be a 0 or 1, so how can I get it to show just 0 or 1?
I have set the Y-axis to have a minimum of 0 and a maximum of 1, but this doesn't work. Also if I tell it do not want any decimal places it just shows 0, 1, and 1 on the Y-axis.
Any help would be great.
Solved! Go to Solution.
Hey @Jgeee ,
to obtain what you want I used a workaround with Y-Axis Constant Lines, I 've hidden the Y-axis and Added two Y-Axis Constant Lines,
1) Disable the Y-Axis
2) Add a Y-Axis Constrant Line with the value 0
3) Add a Y-Axis Constrant Line with the value 1
Hope this helps 😉
Cheers, LQ
Hey @Jgeee ,
to obtain what you want I used a workaround with Y-Axis Constant Lines, I 've hidden the Y-axis and Added two Y-Axis Constant Lines,
1) Disable the Y-Axis
2) Add a Y-Axis Constrant Line with the value 0
3) Add a Y-Axis Constrant Line with the value 1
Hope this helps 😉
Cheers, LQ
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
80 | |
76 | |
61 | |
36 | |
32 |
User | Count |
---|---|
91 | |
60 | |
59 | |
49 | |
45 |