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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
UlfDofeldt
Contributor
Contributor

Actual order in current week

Hello,

I want to have the total sales in current week. My week starts on Monday.

I have used the same formula for other calculation and its working but not for the recieved orders.

The below formula is what I use. I have a result but there are values missing.

Could someone please help me?

=Count( distinct{<filterToAvoid=,[Received date.autoCalendar.Date] ={">=$(=weekStart(today()))<=$(=weekEnd(today()))"}>} orderId)

1 Reply
BenjaminT
Partner - Creator
Partner - Creator

Hi,

I've had similar problems doing date ranges like this in set analysis in the past.

Now I always use dates in numeric formats for this purpose and have no issues, so I would recommend trying that.

In your load script you would need to load a new field which contains the date as a number and then use your set analysis above but with NUM(weekstart(today())).

Hope it works!

Ben