Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Failed to reload changed fields used in charts

Hi,

I'm using one field called CUSTOMER in different charts, which at the time of making a reload sometimes substitutes the field called OFFICE. Both fields have data and is in the same table.

Any idea how to solve it?

6 Replies
Not applicable
Author

Hello

I think you should comment to support you more content

example, the two fields are in the same table?

regards

Not applicable
Author

Thank you for your response.

Annex image with the diagram:

   Diagrama.jpg

I use the Customer field primarily for customer counting:

                   COUNT({$<Year={$(=Only(Year))}>} DISTINCT CLIENTE)

It is worth mentioning that the CLIENTES table has many records, I think that's why the fields are changed.

Not applicable
Author

hi

Use this test

COUNT(DISTINCT {$<Year={$(=Only(Year))}>} CLIENTE)

DISTINCT must not necessarily those with the client

regards

Miguel_Angel_Baeyens

Hi,

You may use a counter in the script so if the customer number does not exist, set the field to 1, otherwise to 0, son the final expression is something like:

Sum(COUNTER_CLIENTES)

Apart from that, can you elaborate on what do you mean by "fields are changing"?

Hope that helps.

Miguel

Not applicable
Author

I am using a Count(CLIENTE) in several charts, If  I close QlikView and  I open it again and I check my charts every single place where I use CLIENTE QlikView changed it by OFFICE.

Miguel_Angel_Baeyens

Hi,

That's quite strange indeed. Is the load binary, normal script...? Does that happen in any computer or only in some?

Miguel