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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

100% Stacked Line graph

Hello,

I wanna create a 100% stacked line graph like in this : How to create a "100 % Stacked Column Excel Chart" in QV

But I dont know how to do it with my expression.

I have these 3 expressions:

=count({<GroupingBuyers={'One'}>} DISTINCT CookieIDINT)

=count({<GroupingBuyers={'Two'}>} DISTINCT CookieIDINT)

=count({<GroupingBuyers={'Repeat'}>} DISTINCT CookieIDINT)

Dimension is Week (Could maybe also be GroupingBuyers?)

Labels (1)
1 Solution

Accepted Solutions
Not applicable
Author

I figured out how to do it.

Sliced it on the dimensions, removed my filter in the expression and added a total. So my expression looks like this now:

=count(DISTINCT CookieIDINT) / count(Total <Month> DISTINCT  CookieIDINT)

Added groupingbuyers as dimensionCapture.PNG.png

View solution in original post

3 Replies
MK_QSL
MVP
MVP

Can you provide sample file pls?

I don't think so Stacked Line Chart is possible !

Not applicable
Author

I figured out how to do it.

Sliced it on the dimensions, removed my filter in the expression and added a total. So my expression looks like this now:

=count(DISTINCT CookieIDINT) / count(Total <Month> DISTINCT  CookieIDINT)

Added groupingbuyers as dimensionCapture.PNG.png

Not applicable
Author

Hi Thomas! Can you attach a file with your solution?

Thanks,

Joakim