Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
AWS Degraded - You may experience Community slowness, timeouts, or trouble accessing: LATEST HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Show the selected week in the Label.

Hi! is there a way to show the selected week in the Label field? (in a column)

//BR
Patrik

Edit:

Hi! thoose work but i was a little unclear in the first post sorry.

The thing is that I've six column displaying:

If i choose an interval where first week is week six and last week is week twelve

1st column: first week in the selection

2nd column: second week in the selection

3rd column: third week in the selection

etc etc

I would like the 1st column showing the first week name in the selection and the second week showing the second weeks name, etc

is it possible to do?

//BR
Patrik

1 Solution

Accepted Solutions
CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

     Then try by incrementing

     Min(Week),Min(Week)+1,Min(Week)+2..Min(Week)+6

Celambarasan

View solution in original post

6 Replies
jagan
Partner - Champion III
Partner - Champion III

Hi,

Use this expression in Label

=Only(Week)

Regards,

Jagan.

CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

     use Label as =GetFieldSelections(WeekFieldName,',') shows if selected many separated with comma.

     Or you can try with this

     =if(GetSelectedCount(WeekFieldName)>0,GetFieldSelections(WeekFieldName,','),'Week')

Hope it helps

Celambarasan

Anonymous
Not applicable
Author

hi

Hope this attached file expression (textbox) will help you to show the selected date week name in the column or lable

Regards

Ashok

Not applicable
Author

Hi! thoose work but i was a little unclear in the first post sorry.

The thing is that I've six column displaying:

If i choose an interval where first week is week six and last week is week twelve

1st column: first week in the selection

2nd column: second week in the selection

3rd column: third week in the selection

etc etc

I would like the 1st column showing the first week name in the selection and the second week showing the second weeks name, etc

is it possible to do?

//BR
Patrik

CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

     Then try by incrementing

     Min(Week),Min(Week)+1,Min(Week)+2..Min(Week)+6

Celambarasan

jagan
Partner - Champion III
Partner - Champion III

Hi,

Use this expressions

1st Week = Min(Week)

2nd Week = Min(Week) + 1

3rd Week = Min(Week) + 2

4th Week = Min(Week) + 3

5th Week = Min(Week) + 4

6th Week = Min(Week) + 5

Regards,

Jagan.