Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I am trying to build an expression having set analysis. sum( {< Date = {" >= $(=vFirstDate)"}> } Data). is what i built to get the sum(data) where Date > the value in variable vFirstDate. But its not giving the correct result.
Can someone help me with this.
May be you don't have the correct format of date within your set analysis... check here:
or try this:
Sum({<Date = {"=Date >= vFirstDate"}>} Data)
or
Sum({<Date = {"=Date >= $(vFirstDate)"}>} Data)
May be you don't have the correct format of date within your set analysis... check here:
or try this:
Sum({<Date = {"=Date >= vFirstDate"}>} Data)
or
Sum({<Date = {"=Date >= $(vFirstDate)"}>} Data)
Does the format of your Date and variable field are same?
Try this?
= Sum({< Date = { ">= $(vFirstDate)" } }>} Data)
Check on the model (CTRL T) the contents of the table where the date is stored, and review the format. Maybe this is the problem.
To solve this, on the load convert the date field to the correct format usinf date(field,'mm-dd-yyyy') for example.
I hope this could help.
Try like this:
sum({<Date={">=$(=vFirstDate) <= $(=vFirstDate)"}>}data)
Try this,
sum( {< Date = {" >=$(vFirstDate)"}> } Data)