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: 
Anonymous
Not applicable

Iter number dimension

Colleagues, good day!

I have some problem with creating special dimension and work with it^

1.In pivot table i want to create dimension, which must have values from 1 to N (N - value from input box.)

2. In expression i need get value from this dimension &  '_2016'

For example, if i set value in inputbox 6, i must get sum result pivot report:

DimensionGet Value from dimension
11_2016
22_2016
33_2016
44_2016
55_2016
66_2016

test model in attachment.

Thanks.

1 Solution

Accepted Solutions
sunny_talwar

May be this as dimension to get _2016 attached to all the rows:

=ValueLoop(1, v1) & '_2016'


Capture.PNG

View solution in original post

8 Replies
Clever_Anjos
Employee
Employee

Try ValueLoop(1,v1) as dimension

Clever_Anjos
Employee
Employee

Capturar.PNG

sunny_talwar

May be this as dimension to get _2016 attached to all the rows:

=ValueLoop(1, v1) & '_2016'


Capture.PNG

santiago_respane
Specialist
Specialist

Hi,

if i assume right, you can achieve that with set analysis:

=SUM({<f1={">=1<=$(v1)"}>} f3)

This will filter your dimensions in your table.

Find sample attached.

Please let me know id this helps.

Kind regards,

Anonymous
Not applicable
Author

Thanks!

Anonymous
Not applicable
Author

Thanks!

Anonymous
Not applicable
Author

Thanks!

sunny_talwar

I think you should be at least mark Clever‌ as helpful, if not correct. I just took his idea and put it in a way you wanted to see. I really appreciate your time on this

Qlik Community Tip: Marking Replies as Correct or Helpful