Hi all,
I am building an application using Dashboards 4.1; up until now I have been connecting via a UNX file to the back-end (SQL Server Database) using Query Browser.
Depending on different actions by the user, I would like to run different queries against the database. For example, I have one query that returns amounts by volume (cubic metres), another by mass (KG). It is better for performance to use simple queries like this.
I am having some difficulty working out how to tell Query Browser to execute one query, and not the other, depending on the unit of measure selected. Note that the dashboards must be refreshed whenever the user selects a dimensional value (location, date range, etc.) - that's the real difficulty.
Could anyone point me in the direction of a design pattern or some examples that might help me out?
Thanks in advance.