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

Week index number

Good day!

Colleagues, tell me please, has QV some function to get index number of values in some field (not in load script)

Model and necessary WeekNumber in attached file.

Thanks.

32 Replies
MK_QSL
MVP
MVP

Can you provide the output also in excel?

Anonymous
Not applicable
Author

Excel has field WeekNumber..

MK_QSL
MVP
MVP

So you want to derive WeekNumber for YearWeek?

Anonymous
Not applicable
Author

Yes. By some function in expr.

MK_QSL
MVP
MVP

Like this?

Anonymous
Not applicable
Author

Yes.

but RowNo get row number of field which is set in dimensions.

in need to calculate sum for last 13 weeks, that's why i need calculate number index of all YearWeeks.

MK_QSL
MVP
MVP

Either Create YearWeekID in Script using AutoNumber function

or

Use set Analysis for getting last 12/13 weeks...

either provide sample data or sample app to work

Anonymous
Not applicable
Author

In attached model i need calculate sales for last 14 weeks by set analysis.

jonathandienst
Partner - Champion III
Partner - Champion III

In what context? In that table, weekly, or for a selected compare date in a text box?

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein