Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
michael84
Contributor II
Contributor II

How to create an Linechart with index?

Hello

I want to create a Line Chart as an Index. That means it should start in the year 2007 which is 100% and each following year refers to the first (actually selectet year) and shows the value in % of the basic year.

Here is an example how it should look like. Does somone know how to create such a graph that is also dynamic?

Thanks for your help

Michael

Example.gif

1 Solution

Accepted Solutions
Not applicable

Hi Michael,

You should try this expression :

sum(pflegetage) / sum({$<Year={'$(=min(Year))'}>}Total pflegetage)

I think it will work !

Good Luck !

View solution in original post

2 Replies
Not applicable

Hi Michael,

You should try this expression :

sum(pflegetage) / sum({$<Year={'$(=min(Year))'}>}Total pflegetage)

I think it will work !

Good Luck !

michael84
Contributor II
Contributor II
Author

Hi Paul,

Thanks a lot for your help it wort out perfect!!