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: 
mphekin12
Specialist
Specialist

Set Analysis Help

Hello,

I am having a very strange issue with set analysis and wanted to see if anyone else is experiencing the same issues.  I have used the following formulas in several dashboard, but for some reason, they don't seem to be working on one I'm currently working on.  The only difference is that this new dashboard was created in QlikView 12.1 SR 4.

So here is the issue.  I am using variables and set analysis to determine total encounter and split out encounters that are on or off pathway:

Capture1.PNG

When I select false for the pathway flag field, 'on pathway' and '% on pathway' should be zero because I am using the '$' as my set identifier, but as you can see below, that isn't happening:

Capture2.PNG

For some reason, the count for on pathway patients is retaining its value.  Has anyone else seen this issue or can anyone recommend a work around?  Like I said, I have used these exact variables and formulas in several other dashboards that I have created and have never had this issue before.

Thank you!

1 Solution

Accepted Solutions
mphekin12
Specialist
Specialist
Author

If anyone else is having this issue, I found a work around.  It appears that the set analysis statements in this dashboard doesn't like the fact that the PATHWAY_FLAG field is set as DUAL.  What I had to do was create a dual field called PATHWAY_FLAG_TF and left the PATHWAY_FLAG field as numeric field.  Now everything is working as it should:

Capture3.PNG

I'm still not sure why I needed to do this in this current dashboard.  I have used the same base data model and formulas in several previous dashboards.  Wonder if it has something to do with QV 12.10 SR4?

View solution in original post

5 Replies
avinashelite

1.Is the data and data model association is same in all the dashboard ?

if not then it won't work

2.Check you have migrated all the variables correctly

3.check the data once ? mainly the data links 

mphekin12
Specialist
Specialist
Author

Avinash,

Thanks for your reply.  All data model associations are correct, the variables were migrated correctly and I have checked the data several times.  It just seems like the set identifier is set at '1' at all times, even though I clearly have the '$' in both the formulas.

avinashelite

Could you share the sample files for the same ?

mphekin12
Specialist
Specialist
Author

Avinash, unfortunately I cannot share this data.

mphekin12
Specialist
Specialist
Author

If anyone else is having this issue, I found a work around.  It appears that the set analysis statements in this dashboard doesn't like the fact that the PATHWAY_FLAG field is set as DUAL.  What I had to do was create a dual field called PATHWAY_FLAG_TF and left the PATHWAY_FLAG field as numeric field.  Now everything is working as it should:

Capture3.PNG

I'm still not sure why I needed to do this in this current dashboard.  I have used the same base data model and formulas in several previous dashboards.  Wonder if it has something to do with QV 12.10 SR4?