Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi friends
I want to check a user given date in date list .whether is it there or not, If there means I need to show sum of values automatically.
I did it but it show me when I select date from date list which is same as i was entered in input box. But I need to show the value without selecting date from list box..
This is the variable using in an input box. and my expression is
=if((Date=vDate),Sum(Value)) when i select '08-06-2015' from date list it show me sum of value of the date. But I want to show the sum of value without am selecting value from date list....
And my table is
I am waiting for your response friends.,....
Exp: Sum({<Date={'$(vDate)'}>} Value)
Right click on input box->Properties->Number ->Mixed
Enter the date in DD MMM YYYY format in input box
Try like:
Sum({<Date={'$(vDate)'}>} Value)
Remember the entered date format and date in field format have to be same. I.e, enter date value like vDate = 08 Jun 2015
check your date formats.
your screenshots show different ones.
regards
Marco
Hey Thank for your response. but it not works perfectly. I just paste that exp In a text box it show me 0. Even I select a date from date list also.
SUM({<Date = {"$(=Date(Date#(vDate,'DD-MM-YYYY'),'DD MMM YYYY'))"}>}Value)
Yeah It look diff from my input but it accept my date which enter in input box. and show the sum of value when I select the same date from date list. at the same time it doesn't show any value if I didn't select any date from date list or select a wrong date....
Try to post a sample qvw.
Friend show me whether user input date is available in a list or not by using a text box. It should be done without selecting the same date from date list
PFA
hey I can't open this file because am using personal edition only. Can you please send screenshot of the desired output or please paste the expression as a reply...