Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have an expression such as this:
sum({<SaleCalendarYear={$(vPreviousYear)},SaleMonthNumberOfYear={">=2<=2"}, SaleDayNumberOfMonth={">=1<=$(=vTodayDay)"}>} Price+Discount)
I use variable vTodayDay in double quotation.
but it not work.
How can i get variable value in double quotation?
What is the value you have in your vTodayDay? May be try like
= sum({< SaleCalendarYear = {$(vPreviousYear)},
SaleMonthNumberOfYear = {">=2<=2"},
SaleDayNumberOfMonth = {"=$(='>='&1&'<='&$(vTodayDay))"}>} Price+Discount)
OR
Just try
= sum({< SaleCalendarYear = {$(vPreviousYear)},
SaleMonthNumberOfYear = {">=2<=2"},
SaleDayNumberOfMonth = {">=1<='$(vTodayDay)'"}>} Price+Discount)
Thanks for your answer, but it not work.
vTodayDay is a number between 1 to 31.
Is it possible to share your app you are trying this on for a quick look?
I solved the problem. Thank you.
Ok. Can you post the solution and mark yours as correct and close the thread.