Forum Discussion
Line chart - change data label to percentage
- 7 years ago
Anonymous,
I'm afraid this may can't be achieved in power bi because the label shows y-axis value which can't be changed in line chart. You can submit your idea here.
Regards,
Jimmy Tao
Hi neandertal,
Could you share some sample data and clarify more details about your requirement?
Regards,
Jimmy Tao
- Anonymous7 years agoNot applicable
Hi Jimmy v-yuta-msft,
Here is a sample pbix and the data source.
https://drive.google.com/open?id=1OCTsTAYzAF4560qSa6jFNLoeiMvLxVfB
Basically I need to plot two lines in a chart, one is for total income and the other one is tax. I created a report and you can see it in the attached file.
Here is the issue: There is a percentage field in the data source. What I want to do is to change the label for tax line and show percentage in this label without changing the y-axis and tax values. In the report the percentage is in tool tip but I need this to be displayed as label not in tool tip. (Also this percentage can be calculated on the fly, it doesn't need to be a field if it is easier to do.)
Thanks!