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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
manojkulkarni
Partner - Specialist II
Partner - Specialist II

Help required in getting count

Hi All,

I have given sample data, where in each IP Address will be provided with 2 sources. I need identify the no of address assigned by Source wise considering both primary & Secondary for each IP. Please suggest how this can be achieved ?

Data :

IPAddressPrimarySecondary
1L1L3
2L1L3
3L1L2
4L2L1
5L2L3
6L3L1
7L4

Expected Result

SourcesCountIP
L15
L23
L34
L41
11 Replies
effinty2112
Master
Master

Hi Manoj,

                     If you want to use the calculated dimension in an expression just copy the Valuelist formula into your expression as if was a dimension field.

Here the whole ValueList formula in inserted into a Right() expression to get the number part.

Error: Garbage after expression: "L1'" Right(ValueList('L1','L2','L3','L4'),1)
 
L11
L22
L33
L44

cheers

Andrew

manojkulkarni
Partner - Specialist II
Partner - Specialist II
Author

May be question is not clear. What I meant is If want to use the Dimension Value "L1" or "L2" in set analysis of expression then how should we use ?