Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all. I have a chart that requires a certain filter value to be chosen before any data can be displayed. I created a calculation condition to look at that field, and created an error message for "Calculation condition unfulfilled" to say please choose a value for this field. Now, when I first load the QVW, that error message is not displayed. The chart is just blank white. If I choose the value to make the data appear, and then clear it again, the error message will now appear. This didn't used to be the case in QV9. When I loaded the QVW, the error message would immediately appear. Now with QV10 it only appears after I select the value and clear it again. Any ideas? Thanks!
What function are you using for your condition? Try using GetSelectedCount(field_name)>0, which should be quite simple. If that doesn't work, then it might be a bug, but I would be very surprised. Plus there are always other ways to check the same thing that you can try.
Regards,
Hi Vlad. Thanks for the reply. So I've further identified the issue, and I think this may be a bug. The issue arises when I open a minimized chart that has a calculation condition. So if I save the qvw with the chart opened, the next time I open the qvw it will display the error message. If I minimize that chart, then double click on it to re-open it, it will be blank and the error doesn't display. If I save the qvw with the chart minimized, then open it after re-opening the qvw, it will be blank. Do you think this is a bug?
Oh, I think I misunderstood you before. You're not saying that the calculation condition itself doesn't work, but rather that the error message doesn't? I've seen that before and yes, I think it's a bug (although I didn't have time to report it to support myself).
Regards,