Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Trend

Hello

In my visualisation I want to add a trendline but I don't want it to adjust when a filter is selected.

How can I do this?

6 Replies
vinieme12
Champion III
Champion III

how are you adding the trend line?

add and expression with 1 as identifier to ignore all selections

example

Sum({1}Sales)   << this will ignore any selections made in the entire app

if you want to ignore a specific field, then

sum({<field1=,field2=>}Sales)    << here selections in field1 and field2 will be ignored

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
Anonymous
Not applicable
Author

I just made an extra line graph

vinieme12
Champion III
Champion III

Did you try as above with your expression?

if it's confusing , post the expression for your line and I'll show you where to edit

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
Anonymous
Not applicable
Author

So what I want is to have a trendline from stage 1 (the purple bars) in a seperate line graphSchermafdruk 2017-04-21 15.14.51.png

vinieme12
Champion III
Champion III

You should use a combo chart instead of a bar chart

If you are already using a combo chart,

     under MEasures >>

                              Click on the Measure you want to show as line

                                                  >> Select Line (Bar | Line | Marker options will be available)

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
Digvijay_Singh

Use combo chart, select one new measure with same expression as Stage 1 measure and select line option in expression tab. This way you will have line and bar both for stage 1, line will appear as a trend.