Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
Is there any way to smooth lines on a line chart?
I'd like it to flow more like this one made in Excel, than the one below it made in PBI.
Many thanks
Solved! Go to Solution.
hi. there is not a way to do this in powerbi that i am aware of.
I know that the smoothed line looks good but is it an accurate representation of the data?
Hello @Power-BI and @samdthompson :
You may be aware of this, but from the july 2023 release smooth lines are available.
See release note :
Release note july 2023
or the snippet from the release note below:
Kind regards!
If this solved your problem, consider marking this answer as a solution.
So I managed to get a decent result for a smoothed linechart on a monthly basis:
This Formula calculates the Sales on a monthly basis but between each start and end of the month it calculates the change in a logistical curve so it smooths out the numbers betweeen each monts close. Be aware that this only works if you have "dates" on your x-axis. It may not represent your accurate data between months bit it looks just nice.
Hi @Power-BI,
Here visual shows smooth lines instead of lines which will help you get different line styles.
Download link for the custom visual file on this page,
https://pbivizedit.com/gallery/smooth-lines-in-line-chart
This was made with our Custom Visual creator tool PBIVizEdit.com. With this tool,
Give this a shot and let us know if you face any problems/errors.
You can use the editor to modify your visual further (some modifications cannot be done in the Power BI window and have to be in the editor).
Thanks,
Team PBIVizEdit
Hello,! The Power KPI worked in making the lines smooth or monotone.. The probem i encountered is when i publish it to wapp.powerbi workspace.. it is creating an error. the powerBi is already added in the power bi desktop but i dont see how i can add this to app.powerbi
Hi All,
The below visual offers the same functionality of smoothing as that in excel.
https://appsource.microsoft.com/en-us/product/power-bi-visuals/WA104381083?tab=Overview
@Kolumam Is correct
When you download the "Power KPI" viz from the market place, you are going to want to edit the line by selecting 'Monotone'. see screenshot
Best,
Eric
hi. there is not a way to do this in powerbi that i am aware of.
I know that the smoothed line looks good but is it an accurate representation of the data?
If you want to represent a "Gauss Bell", it is completely necessary to have smooth lines to understand the distribution.
That's because i think it is necessary to have the possibility to represent a smooth line chart.
Josep.
"..is it an accurate representation of the data?" - it can often well be more accurate than showing only the measured points..
In case the data in question is anyway an estimate and contains error, representing smooth lines instead of absolute points only indicating that "it is roughly like X" is totally and utterly warranted in my opinion, being more truthful representation of the data. Also, for cases where you have continous phenomenon underneath (such as temperature...) but have only discontinuous measurements (say hourly), again, smoothing the lines to be continuous more truly represents the underlying distribution, of which the collected data is only a partly representing sample. I disagree with your stance for many a dataset of reality.
"..is it an accurate representation of the data?" - it can well be more accurate than showing only the measured points..
In case the data in question is anyway an estimate and contains error, representing absolute points instead of smooth lines indicating that "it is roughly like X" is totally and utterly warranted in my opinion. Also, for cases where you have continous phenomenon underneath (such as temperature...) but have only discontinuous measurements (say hourly), again, smoothing the lines to be continuous more truly represents the underlying distribution, of which the collected data is only a partly representing sample. I disagree with your stance for many a dataset of reality.
This was a while back...any chance this is possible in new version?
Seems like a terrible idea anyway. In that example picture the curves make the lines go higher and lower than the actual data points they're connecting. So the graph is lying. It looks pretty but it's worse than useless for representing data. It's a good thing that we don't have this "feature".
Proud to be a Super User!
In case the smooth lines would go over or under the actual observed values, yes, wrong, but in case they remain within the observed boundaries, result may well represent reality better than discontinuous observations of a phenomenon. Think of temperature and hourly measurements of it. Cheers.
If you do want this feature here you go
https://zoomcharts.com/en/microsoft-power-bi-custom-visuals/
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
110 | |
95 | |
86 | |
78 | |
66 |
User | Count |
---|---|
157 | |
125 | |
116 | |
111 | |
95 |