Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Guys,
I have converted my date column in a proper format in the edit script but the date value is passed as numbers in set analysis
i have tried using the date function inside set analysis but still the issue is not solved . Please suugest if i am missing something
and i am using QV10
2 things you can try:
1. Get rid of '#' - I think, '#' signifies numeric expression, which might cancel the effect of the date() formatting.
2. Try flipping between Only() and Date() - instead of using only(Date(...)), use Date(Only(...)), - again, without the # in the beginning.
On the other hand, I don't quite understand the point of this expression - your Set Analysis states that FULLDATE should be equal to the selected value of FULLDATE. The same data set can be defined without using any Set Analysis - it's the default. If you need to enforce that the single date is selected, you can add "Calculation Condition" with the customized message, requesting that the user selects a single date.
Am I missing something?
Set analysis requires that the date field and the date value are formatted in exactly the same way. Date field's format is determined in the "Document Properties" - "Number" tab, and the date format of the value can be determined within the formula. For example:
{<MyDate = {">$(=date(vStartDate, 'MM/DD/YYYY'))"}>}
If you quote your expression, we could try to find where is the problem.
Hi ,
Thanks for the reply i have the date format of the field set correctly in document properties
set analysis .Also i have applied the same date function in the script for the same field
2 things you can try:
1. Get rid of '#' - I think, '#' signifies numeric expression, which might cancel the effect of the date() formatting.
2. Try flipping between Only() and Date() - instead of using only(Date(...)), use Date(Only(...)), - again, without the # in the beginning.
On the other hand, I don't quite understand the point of this expression - your Set Analysis states that FULLDATE should be equal to the selected value of FULLDATE. The same data set can be defined without using any Set Analysis - it's the default. If you need to enforce that the single date is selected, you can add "Calculation Condition" with the customized message, requesting that the user selects a single date.
Am I missing something?
Thanks a lot buddy i have removed the # and the problem is solved and regarding the other point i have posted a part of the expression but in actual i have to do some MTD ,YTD calcuation based on the date selection and that's y i am using set analysis