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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
shabarish0587
Contributor III
Contributor III

How to use- Dual()

Hi Friends,

        Can any one help me how to create WEEKENDSAT by using YearMonth Fields. My Data Looks like this.

Load * Inline

[

YearMonth, IDs

2018-12, 123

2018-12, 123

2018-12, 125

2019-01, 456

2019-01,789

2019-01, 281

];

 

My Data is look like this. If i select any yearmonth data it should display count of ids by weekend.

3 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Can you explain what WEEKENDSAT is?

And what has the Dual() function to do with it?


talk is cheap, supply exceeds demand
shabarish0587
Contributor III
Contributor III
Author

Hi Gysbert,
Weekendsat means Week End Saturday. I want to show the data by week, that week starts from Sunday and End with Saturday. I need to create like this
Weekend((Date) 0,6) as Weekendsat.
But here my case is I want to create same thing by using YearMonth Column not Date.
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Perhaps like this: Date(WeekEnd(Date#(YearMonth,'YYYY-MM')),'YYYY-MM-DD')


talk is cheap, supply exceeds demand