Last Updated DAte on Dashboard (Dynamic Elasticubes_
I have a dashboard that i want to display at the top in a text box the lastupdated build date of my elasitube
I've seen https://community.sisense.com/t5/build-analytics/show-last-updated-date-on-dashboard/m-p/3690?search-action-id=15431263853&search-result-uid=3690
But my dashboard is hooked up to many elasticubes...
ideally i want the date to appear on the right hand side of this blue bar... possible?
liamcameron
Posted 1 year ago·Last reply 1 year ago
5 comments
Hari KM
·1 year agoHi liamcameron ,
You can definitely use the same script you mentioned to find the last updated build date of any elasticube—just update the elasticube name in the 'datasource' variable.
To display the date on the right side of the blue bar:
If you're using a text widget: It’s tricky to align text left and right within the same widget. Instead, create two text widgets placed side by side: make the first widget left-aligned and the second one right-aligned.
Alternatively, consider using Blox: It offers more flexibility for aligning your text as needed.
-Hari
https://www.binextlevel.com/
liamcameron
OP1 year agoHey hari! Thank you for the reply,
we’re using the dynamicelasticubes plugin so one dashboard will have 10 cubes viewing it depending on the user’s group. Can that cube just be an array then?
Assaf Hanina
·1 year agoHey liamcameron ,
the Dynamic Elasicube require the Datasource info in the script to be Dynamic Variable.
This sample script demonstrates the following:
liamcameron
OP1 year agohey Assaf!
Thank you for the reply, i've tried the second script in a text widget, doesn't seem to work, is there something else i need to input? i.e you define the data sources, do i need to outline my cubes beforethe script?
Assaf Hanina
·1 year agoHey liamcameron ,
The copy was missing the necessary code to update the text.
in addition, instead of Using Text option, the Last Build time can be used in Blox Widget.
please review the updated script, Using Text, and update if that's works.
Best Regards