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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Week to date expression

Hello,

For a report that I am making I need the following:

I have a graph, which shows our sales over the weeks, and I want to show a cummulative measure which sums from week 1 to the current week in the graph

, see image:

WTD.JPG

The Blue line is the WTD, I only calculated it in my dataset, which makes the query very slow. Is there a way to let Qlikview calculate the WTD, and how can I do that? When I need to make a WTD measure in my dataset for every cumulative measure, the performance will be dramatic.

Thanks!

13 Replies
Not applicable
Author

MDX -->

Calendar  = Hierarchy

Year = Level in hierarchy

Currentmember = current location in hierarchy

Not applicable
Author

These expression is satisfied?

Not applicable
Author

No, this is an expression which I have build in OLAP, and I want the same functionality in QlikView. I do not know how this can be acheived. Sum({YTD(Calendar.Year.Currentmember, Calendar.CurrentMember)} Sales) is a MDX query statement. I want to translate this to a QlikView statement.

Not applicable
Author

You have any field name for week in qlikview or have to create?