How to visualize project variables in dashboard?

I want to add a dynamic time format on a monthly dashboard, like Jan-25, Feb-25, which already stored in project variables.
How can I choose proper tile as below and configure it in slide?
Operating system used: Windows
Answers
-
Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 2,539 Neuron
You can't directly display variables in a dashboard. There are however several possible work arounds. Two I can think of:
Use a metric as suggested in this post:
Persist the variable into a dummy dataset which you can display in the dashboard.
-
I pulled the variables into a dataset using a Python recipe with get_custom_variables(), then used that dataset in a dashboard tile. Makes it easier to review changes. I also exported the dashboard visuals to make timeline in PowerPoint slides for team updates—it’s fast and keeps everyone in sync without digging into the backend.