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: 
Chinnu3
Contributor III
Contributor III

qlik sense

I want to convert a Date(27-10-2021) in Week(YYYY-W43) like this.

how to convert this in Dimension, I want to show this in Bar chart.

Thanks..

1 Solution

Accepted Solutions
tresesco
MVP
MVP

Or, like this:

=Replace(
WeekName(Date#('27-10-2021', 'DD-MM-YYYY'))
,'/','-W')

View solution in original post

3 Replies
AshutoshBhumkar
Partner - Specialist
Partner - Specialist

Hello,

Something like this ?

Year(Date(Date#('27-10-2021','DD-MM-YYYY')))&'-W'&Week(Date(Date#('27-10-2021','DD-MM-YYYY')))

AshutoshBhumkar_0-1635313185047.png

 

Thanks,

Ashutosh

tresesco
MVP
MVP

Or, like this:

=Replace(
WeekName(Date#('27-10-2021', 'DD-MM-YYYY'))
,'/','-W')

Chinnu3
Contributor III
Contributor III
Author

I want to convert a Date(27-10-2021) in to Month(YYYY-MMM) like this and I want last 12months from Date(27-10-2021).

how to convert this in Dimension, I want to show this in Bar chart.