Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
hello
I have a excel file like bellow:
name telephone
aaa 2222222
bbb 8888888
bbb 9999999
aaa 2222222
i want to show the names with 2 different phone number like "bbb"
i would appreciate if anyone can help me in writing set analysis.
HI,
Try like this
Chart: STraight Table
Dimension: Name
Expression: If(Count(Distinct telephone) > 1, Concat(telephone, ',', 0)
Regards,
Jagan.
HI,
Try like this
Chart: STraight Table
Dimension: Name
Expression: If(Count(Distinct telephone) > 1, Concat(telephone, ',', 0)
Regards,
Jagan.
Create the straight table
Dimension : Name
Expression : Concat ({<Name={"=count(distinct telephone)>1"}>}Name,',')
Hi,
You can concat these simply in a text area with something like
=Concat(DISTINCT {<name={"=Count(telephone)>1"}>} name, ' - ' )
Also keep in mind than you can use the search string in listbox to find these kind of things quickly :
![2016-03-14 10_13_02-QlikView x64 - [C__Users_msorel_Documents_tests_plan de charge.qvw_].png](/legacyfs/online/117888_2016-03-14 10_13_02-QlikView x64 - [C__Users_msorel_Documents_tests_plan de charge.qvw_].png)
Martin
Hi Kabir,
PFA..
see the attachment...
Thank you jagan it worked![]()
Jagan i missed one condition
we must not have different phone number in each month
fore example if a person have two different numbers in month Jan and Feb it's OK
How can i add month condition in expression?
I think you can use
If(aggr(Count(Distinct telephone),Month,Name) > 1, Concat(telephone, ',', 0)
Unfortunately it didn't work.