Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
zebhashmi
Specialist
Specialist

My Table has a loop reference

IDFather nameName
1A
21B

By selecting 2 want to display its Father Name which is A in this Example.

1 Solution

Accepted Solutions
Anil_Babu_Samineni

May be this?

=Only({<ID = P([Father name]) >} Name)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful

View solution in original post

14 Replies
Anil_Babu_Samineni

May be this?

=Only({<ID = P([Father name]) >} Name)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Aurelien_Martinez
Partner - Specialist II
Partner - Specialist II

Hi,

data:

Load * Inline [

ID, Father name, Name

1, , A

2, 1, B

];

left join (data)

Load

ID as [Father name],

Name as [Name Father name]

restident data

;

Help users find answers! Don't forget to mark a solution that worked for you!
zebhashmi
Specialist
Specialist
Author

=Only({<UPID = P(Father_UPID)>}[First Name])

its not working for me

zebhashmi
Specialist
Specialist
Author

I can't do that on script side looking in expression side

Thank you

Anil_Babu_Samineni

Where are you trying this? I am getting as expected in text box

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
zebhashmi
Specialist
Specialist
Author

Ok, let me try with Qlikview text object. I tried it with Qlik sense KPI

Thank you for pursuing it. let me come back

zebhashmi
Specialist
Specialist
Author

It is working with Qlikview! Thank you!

can you find why it does not work in Qlik sense

Thank you very much

Anil_Babu_Samineni

I believe QIX is same for view and sense, It should work? Can you show image in QS

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
zebhashmi
Specialist
Specialist
Author

it works in Qlik sense with this

=Only({1<UPID=p(Father_UPID)>}[First Name])

Thank you!