Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Display data in a chart from dates sorted by weekdays

Hi,

My chart is Time (x-axis) to Amount of Sales (y-axis). Time and Date are my key fields. All my data is loaded from an excel sheet as a crosstable.

I would like my chart to display the Amount of Sales from only Monday, or Tuesday, or Wednesday, etc.

I have tried a lot of things like the weekday() function, but nothing has worked for me.

Could you please help me?

Best Regards,

Lucas

26 Replies
Not applicable
Author

then in expression write this

Sum({<Dates={'>=$(vRollingWeek)<=$(vSelectedDate)'}>}Count)

Not applicable
Author

Hi,

I don't think that's going to work, because you have variables in the dimension which I don't where they come from and "Temp1: LOAD Date(Date#(Dates,'DD.MM.YYYY')) as Dates" always gives me an error. And I already found a solution, but thank you for your time!

Not applicable
Author

weekdays.png

u can check your data now

Not applicable
Author

first u Use script then in front end u have to use two vairbles

Not applicable
Author

What are the definitions of the variables?

Not applicable
Author

I want this a as a result: test.png

Not applicable
Author

vSelectedDate=Max(Dates)


vRollingWeek=vSelectedDate-6