Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

how to create a bar chart (Sum of Sales) with last 5 working days ..I have Date filed called Dated_D..I am using QlikView

how to create a bar chart (Sum of Sales) with last 5 working days ..I have Date filed called Dated_D..I am using QlikView

Please note: Last 5 working day is same as last 5 latest dates as no weekend date is there in my raw data.

Thanks in Advance !!!

Sid

4 Replies
Anil_Babu_Samineni

Like this

=sum({$<Dated_D = {'$(date(today()-5))'}>} Sales)


OR


=sum({$<Dated_D = {"today() - (today() - 5) )"}>}sales)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
arasantorule
Creator III
Creator III

Hi,

Add dimension as Dated_D,

Expression : sum({$<Date_D={'>= $(=(max(Date_D)-4)'}>}Sales)

Thanks.

Not applicable
Author

If we use Today() function then it will include sunday and saturday(non working days)...can we use greatest five dates ..how to do it

Not applicable
Author

If we use Today() function then it will include sunday and saturday(non working days)...can we use greatest five dates ..how to do it