Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements
Coming your way, the Qlik Data Revolution Virtual Summit. October 27-29. REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Partner
Partner

Allocated memory exceeded on dimension expression

Hi all,

I have a dimension in a pivot table based on the following expression:

=chr(39) & Week

The problem is that this generates 'allocated memory exceeded' error.  Removing the expression from the dimension helps correcting the error.

I'm using the desktop version.

 

Unfortunately, the dimension has to be formated (therefore, the expression). Can you help please ?

 

Thanks.

Elina

1 Solution

Accepted Solutions
Highlighted
MVP & Luminary
MVP & Luminary

Often it's useful to create all needed date-fields within the master-calendar even if it meant to keep several week- or month-fields there instead of formatting/adjusting them within UI.

If your aim of formatting this field is to avoid an automatically interpreting by an excel-export you could also add a non visible space, for example: chr(8203).

- Marcus

View solution in original post

12 Replies
Highlighted
Partner
Partner

What do you mean ?
With dimension Week works as expected while adding chr(39) to it do you get the error?
Highlighted
Partner
Partner

Try to replace the week command without argument, with week('yyyy-mm-dd').

This command, chr(39) & week('2019-01-18',0,1), would generate a string like this: '3, that indicate the 3rd week from January.

Here is the complete command syntax.

Marco

Highlighted
Partner
Partner

@agigliotti

Yes, that's correct.

And it happens only in pivot table. If I change to simple table than it works fine.

Highlighted
Partner
Partner

@marco_puccetti

Actually, I have a dimension where the week is format '01/2019' for the first week in 2019.
Highlighted
Partner
Partner

could you share a sample qvw to look into?
Highlighted
Partner
Partner

Do you need to get the right week within that date?

Marco

Highlighted
Partner
Partner

No, I only need to format the value of the dimension so that it is displayed differently within this chart.

Highlighted
Partner
Partner

Try to post the screenshot\script you are using!!

Marco

Highlighted
Partner
Partner

Here are the screenshots.