Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Help in Set Analysis P() Function.

This question is Not Answered.(Mark as assumed answered)

Hi Everyone,

I have below issues in chart..

Consider two fact tables  Call Detail and Event Attendee

   

   

call detail
call detail idcall namecall statusmedical event idTable_Name
10001c_01PlannedM01Call Detail
10003c_02SubmittedM02Call Detail
10005c_03CancelledM03Call Detail
10007c_05PlannedM07Call Detail

   

    

Event attendee
Event attendee idmedical event idAttendee nameAttendee StatusTable_Name
E01M01aaaAttendedEvent attendee
E02M05dddInvitedEvent attendee
E03M06cccAcceptedEvent attendee
E05M02bbbAcceptedEvent attendee

both the fact table having Key Link fields

for Call detail: AutoNumberHash128([Call Detail ID]&'Call Detail') as [%KeyLinkField]

for Event Attendee: AutoNumberHash128([Event Attendee ID]&'Event Attendee') as [%KeyLinkField]

but we don't have any linkage between Call detail table and Event attendee table. we don't have event attendee id in call detail table we have only medical event id .And we cant join two fact tables.

I have used below expression to my chart

count({<[Medical Event ID]= P({<Table_Name= {'Event Attendee'}>}[Medical Event ID]),Table_Name= {'Call Detail'}>}1

)

But When i select call status filter the chart is going blank which i used above expression in Chart,I want to display the chart even call related filters are selected.

Possible values  to  be captured medical event id for these calls from event attendee table


Please help me  what modification should i change in above expression?

2 Replies
tresesco
MVP
MVP

Could you post a sample qvw to work on?

Not applicable
Author

PLease find the sample QVW.