Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
hi,
i have this expression-
=Sum({<BU_Year_Quarte>={">=(num(year(today())&'0'&ceil(month(Today())/3)))"}>}BudgetCurrentBook)
it not working!!
this is working-
=Sum({<BU_Year_Quarte>={"=(num(year(today())&'0'&ceil(month(Today())/3)))"}>}BudgetCurrentBook)
whats wrong?
adi
Hi,
Try like this
create a variable
vCurrentQuarter=num(year(today())&'0'&ceil(month(Today())/3))
=Sum({<BU_Year_Quarte{">=$(=vCurrentQuarter)"}>}BudgetCurrentBook)
OR
if you have datefield in your data model then you can use
=Sum({<DateField{">=$(=QuarterStart(Today()))"}>}BudgetCurrentBook)
Hope this helps you.
Regards,
Jagan.
Hi Adi,
The best document to manipulate Set Analysis:
Set Analysis: syntaxes, examples
By Fabrice Aunez.
It will be helpful !
François
Dear,
The field name is
BU_Year_Quarte
or
BU_Year_Quarte>
If it's BU_Year_Quarte then try to use the below expression
=Sum({<BU_Year_Quarte={">=(num(year(today())&'0'&ceil(month(Today())/3)))"}>}BudgetCurrentBook)
Thanks,
Mukram
Hi,
Try like
=Sum({<BU_Year_Quarte>={">=$(=num(year(today())&'0'&ceil(month(Today())/3)))"}>}BudgetCurrentBook)
Regards
not working
this is working-
=Sum({<BU_Year_Quarter={"=(num(year(today())&'0'&ceil(month(Today())/3)))"}>}BudgetCurrentBook)
but i need
=Sum({<BU_Year_Quarter={">=(num(year(today())&'0'&ceil(month(Today())/3)))"}>}BudgetCurrentBook)
and its not working,,,,
this-num(year(today())&'0'&ceil(month(Today())/3)) -> 201404
and this
=Sum({<BU_Year_Quarter={">=201404"}>}BudgetCurrentBook) -is working
whats wrong?
'=' works, because it is taken as a text/string comparison.
'=>' won't work( works actually as string comparison rather than numeric), because of non-numerical comparison.
Hi,
Try like this
create a variable
vCurrentQuarter=num(year(today())&'0'&ceil(month(Today())/3))
=Sum({<BU_Year_Quarte{">=$(=vCurrentQuarter)"}>}BudgetCurrentBook)
OR
if you have datefield in your data model then you can use
=Sum({<DateField{">=$(=QuarterStart(Today()))"}>}BudgetCurrentBook)
Hope this helps you.
Regards,
Jagan.
may be you helped create variable:
year(today())&'0'&ceil(month(Today())/3)
=Sum({<BU_Year_Quarter={'>=$(yourvaryable)'}>}BudgetCurrentBook)