trend lines clustered column

Forum home » Delegate support and help forum » Microsoft Power BI training and help » Trend lines in clustered column chart

Trend lines in clustered column chart

resolvedResolved · Low Priority · Version 365

Trend lines in clustered column chart

Hello,

I have created a custom column chart with 2 columns per year )1 for a total number of inspections and 1 for the total number of observations).

I want to add a trend line for the number of observations ONLY. However the analysis tool only allows me to do a combined trendline or 2 trendlines (1 for each) how do I remove the line for year and keep the data in the chart?

Thank you for your help!
Best,
Georgia

RE: trend lines in clustered column chart

Hi Georgia,

Thank you for the forum question.

Unfortunately you do not have an easy solution.

If you have two series in the chart, you can only combine the trendline or have one for each.

If you have a good level of DAX knowledge, you can create a measure which you can add to the chart, which will display the trend for only one of you two series.

You can use the LINEST function, but as mentioned, you will need to understand more advanced DAX to create the measure.


Kind regards

Jens Bonde
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector

 

Training courses

 

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Power BI tip:

Query Editor Shortcuts

Ctrl + E: Open or close the Query Editor.
Ctrl + F: Find within the Query Editor.
Ctrl + H: Replace within the Query Editor.
Ctrl + D: Duplicate selected query.
Ctrl + ; (semicolon): Insert a step to create a custom column.
Ctrl + M: Enter the formula bar for the selected step.

View all Power BI hints and tips


Server loaded in 0.07 secs.