Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Dimension value + 1

Hello all,

I have a small problem with value presentation in table.

As you can see on screenshot, when I just add 1 to the week dimension, it just shows data shown in the blue square.

Do you have an idea how to get the values in green one?

Best regards

1 Solution

Accepted Solutions
PrashantSangle

Hi,

Create straight table

take Week as dimension and

Sum({<Week={"$(=Week+1)"}>}[hours]) as Expression

PFA

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

View solution in original post

3 Replies
PrashantSangle

Hi,

Better if you create Week +1 dimension in script

or in your expression

modify it like sum({week={"=$(week+1)"}}sales)

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Not applicable
Author

Hello.

would you be so kind to show me how to do this?

I will send you excel file.

PrashantSangle

Hi,

Create straight table

take Week as dimension and

Sum({<Week={"$(=Week+1)"}>}[hours]) as Expression

PFA

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂