Forum Discussion
Help wanted for line series visual
My data is like so
dept Year percentage
a 2013 99%
a 2014 99%
a 2015 100%
b 2013 60%
b 2014 70%
b 2015 90%
It always seems to average the % total I just want the data shown as it is. Any suggestions is it where I am placing my fields, legend, axis, value etc
A trend line would also be useful though i'm not sure if Power Bi has this functionality.
Any help greatly appreciated
6 Replies
- MarkSL
Helper V
Assuming by Line Series Visual that you mean a Line Chart? If so then see below:
I have loaded your data into a table, with the percentages as decimals, eg 99% = 0.99. I have then formatted the column as Percent from the Modelling Ribbon.
Create a Line Chart visual and assign as follows:
Axis = Year
Legend = Dept
Values = Percentages
To add a Trend Line, go to the Analytics tab of the Line Chart and add a Trend Line. Take note of the option 'Combine Series'. If selected, the trend line will sit between your two Departments, as per below, else you will get a trend line per Department: