Using Dashboards 4.1 SP2. query browser to get my data from my universe. I have about 4 queries in my dashboard. I want to create a loading screen that will show my loading circle (from an swf file) while the dashboard loads and refreshes the queries. I have implemented it but it doesnt seem to work.
Attached are my query options and my “loading swf” file’s dynamic visibility is set to show when the cell value is “show”. But when i do the preview, it doesnt show me my “loading swf”. Am i missing something? :?
Those are the exact ones i followed, the only difference is that i have the option selected “Refresh before components are loaded”. The reason i have that selected is because i want the queries to refresh when the dashboard is opened.
Your problem may lie in the fact that all four of your queries are using the same cell. So, walk through what happens. As soon as the first query starts refreshing, the cell changes to “Loading” and, presumably, your loading image pops up. As the next three queries start refreshing (almost instantly), they also put “Loading” into that cell.
But here’s the hitch. As soon as the first query finishes, it puts “Idle” into that cell. Even though the other three queries are still going. So your data loading message disappears.
The fix is fairly simple. Give each connection a separate cell that the loading message goes into. Then create a cell that takes the MAX of those cells. Since “Idle” comes before “Loading” alphabetically, MAX will return “Loading” if any of the queries are still running. Now set your dynamic visibility to use that MAX cell.
This doesn’t quite work, though. The label that gets put in the sheet is text, so you would still have to do something to convert it to a number before summing.
So i tried to do this but my destination cell where my MAX is only bringing the first letter. L or I. And even after setting my dynamic visibility of my loading background, it doesnt show up. Just Initializing and then the components.