Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
georgegv
Contributor II
Contributor II

Date Format within Set Analysis

Dear Qlikview community

I am trying to adjust a date format within a set analysis.

=Sum({$<RRTDATE={"$(=date(vBeginDate,'YYYY-MM-DD'))"}>}GROSSVAL)

The above is my formula but still I am not getting any output.

Please can I ask advise

Regards

1 Solution

Accepted Solutions
Digvijay_Singh

May be this, check in text box if your vBeginDate and RRTDATE are having date format-

=Sum({$<RRTDATE={"=$(=date(date#(vBeginDate,'YYYY-MM-DD')))"}>}GROSSVAL)

View solution in original post

7 Replies
Digvijay_Singh

May be this, check in text box if your vBeginDate and RRTDATE are having date format-

=Sum({$<RRTDATE={"=$(=date(date#(vBeginDate,'YYYY-MM-DD')))"}>}GROSSVAL)

shiveshsingh
Master
Master

It depends on your RRTDATE format also, make sure it matches with the below format

=Sum({$<RRTDATE={"$(=date(date#(vBeginDate,'YYYY-MM-DD')))"}>}GROSSVAL)

krishna_2644
Specialist III
Specialist III

Whats the format of your  vBeginDate?


in any case,   date(date#(vBeginDate,'Format1'),'Format2') - this converts to one format to another.

tripatirao
Creator II
Creator II

is any error coimng in the expression,what is the value you store in the vBeginDate.

sasiparupudi1
Master III
Master III

To debug the problem,i would suggest you to test your rhs in a text object .

date(vBeginDate,'YYYY-MM-DD')

If this is getting you the same date format as your lhs,you should see the result of your expression working.



georgegv
Contributor II
Contributor II
Author

Thanks for the pointers , the solution worked perfectly

sasiparupudi1
Master III
Master III

Please close this thread by marking any helpful and a correct answer