Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello All,
I am Using the following Expression:
=Sum({<[Revenue.Invoice Date] = {$(vCutoffDate)}>} [Revenue.Invoice Amount]/vMillion)
Its returning me an Error: ERROR in SET MODIFIER, ',' or ')' Expected.
Need Help..
Hi,
Try this:
=Sum({<[Revenue.Invoice Date] = {'$(=vCutoffDate)'}>} [Revenue.Invoice Amount]/$(=vMillion))
REgards
KC
is vMillion a variable? If yoe try $(vMillion)
Hi,
make sure you have proper date format,
Then try below
=Sum({<[Revenue.Invoice Date] = {'$(=vCutoffDate)'}>} [Revenue.Invoice Amount])/vMillion
Or
=Sum({<[Revenue.Invoice Date] = {'$(=vCutoffDate)'}>} [Revenue.Invoice Amount])/$(vMillion)
Regards
ASHFAQ
Try this,
=Sum({<[Revenue.Invoice Date] = {'$(=vCutoffDate)'}>} [Revenue.Invoice Amount]/vMillion)
If you have sum in your variable then you have to move it outside expression, like Ashfaq shows.
Nope, Its giving me 0, which is not correct.
This is just to convert the value in Millions, Even if I remove this, the problem is the same.
Hi Try this:
=Sum({<[Revenue.Invoice Date] = {'$(=vCutoffDate)'}>} [Revenue.Invoice Amount])/$(vMillion)
If you still face issue, then check your variable ina text box and see yhe output:
In text box:
=$(vCutoffDate)
Regards
KC
Hello Jyothish,
=$(vCutoffDate) is giving me -20, I guess there is the problem.
But I am using the same variable to calculate >=Start Date to < CutoffDate which is working fine,
Also used it in >CutoffDate to <=EndDate which is also working fine,
Only = CutoffDate is not working.