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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
ajsjoshua
Specialist
Specialist

To Display week based on selection

Dear all,

I am showing sales value for weeks for ex:Week32 Oct 29 to Nov 04.If an user selects month for ex:nov then it will show only sales value for the month november but my week displays like Week32 Oct 29 to Nov 04.i want to show like     Week32 Nov 01 to Nov 04.I am using fiscal calendar and my week starts from Monday to Sunday.

My calculated dimension:

FiscalWeek &' '&date(WeekStart(CDate),'MMM DD')&' to '&date(WeekEnd(CDate),'MMM DD')

 

Regards,

Joshua.

 

 

Labels (2)
1 Solution

Accepted Solutions
sunny_talwar

My bad... try this

=FiscalWeek &' '& Date(RangeMax(WeekStart(CDate), Min(TOTAL CDate)), 'MMM DD') & ' to ' & Date(RangeMin(WeekEnd(CDate), Max(TOTAL CDate)), 'MMM DD')

View solution in original post

3 Replies
sunny_talwar

May be try this

FiscalWeek &' '& Date(RangeMax(WeekStart(CDate), Min(CDate)), 'MMM DD') & ' to ' & Date(RangeMin(WeekEnd(CDate), Max(CDate)), 'MMM DD')
ajsjoshua
Specialist
Specialist
Author

Dear brother,

=FiscalWeek &' '& Date(RangeMax(WeekStart(CDate), Min(CDate)), 'MMM DD') & ' to ' & Date(RangeMin(WeekEnd(CDate), Max(CDate)), 'MMM DD')

I am getting error in calculated dimension.

sunny_talwar

My bad... try this

=FiscalWeek &' '& Date(RangeMax(WeekStart(CDate), Min(TOTAL CDate)), 'MMM DD') & ' to ' & Date(RangeMin(WeekEnd(CDate), Max(TOTAL CDate)), 'MMM DD')