Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
chaudhariv
Partner - Contributor III
Partner - Contributor III

Variables show different values in Access point

Hi Champs,

I ran into a weird issue.

There are some variables that are created through subroutines like current period etc and they are behaving perfectly in desktop version.

But when I open application in access point then they do not produce the expected values.

And strange thing is that same variables are working fine on all other sheets except one.

The only difference between other sheets and this sheet is that here I am using alternate state.

Any idea what might go wrong in this scenario.

Thanks in advance.

8 Replies
swuehl
MVP
MVP

Do these variables hold static values or are being evaluated in the current context, i.e. show a leading equal sign?

Could you show some more details how these variables are exactely defined?

chaudhariv
Partner - Contributor III
Partner - Contributor III
Author

Hey Swehl,

1. These are the global variables i.e. common across all the applications and works perfectly in all applications.

2. Yes they are being evaluated in the current context.

So what I think is its not the issue in the definition of the variables, but something else that I am not able to catch. Because the same variables are working perfectly on other sheets in the same application.

Thanks

swuehl
MVP
MVP

2. might already explain what you are seeing.

If you don't like the current situation, have you tried clearing the current state in AP (using the button below the thumbnail image in AP)?

chaudhariv
Partner - Contributor III
Partner - Contributor III
Author

I tried it but didn't work.

chaudhariv
Partner - Contributor III
Partner - Contributor III
Author

In Desktop version I am getting correct values.

DesktopVersion.PNG

But on Access Point its shows different Values

Access Point Version.PNG

And issue is its creating issue on one tab in application. On all other tabs its working perfect.

No idea what could go wrong on one tab....

Thanks

chaudhariv
Partner - Contributor III
Partner - Contributor III
Author

Any leads....anyone....???????

swuehl
MVP
MVP

Well, it's not easy to help with the information provided. Would you be able to upload the QVW?

Or post all the expressions and variable definitions used in that tab?

Are you using alternate states?

Does the value change when you change selections (it may still show incorrect value, but does it react to user selections or is it completely frozen)?

chaudhariv
Partner - Contributor III
Partner - Contributor III
Author

Due to sensitive data I cannot upload the QV file.

Yes I am Using alternate states on that particular table. Values change on the selection as the variables are dynamic.

Thanks