# Add variables in new Dashboards

**URL:** <https://community.dynatrace.com/t/add-variables-in-new-dashboards/39949>\
**Category:** Dashboarding\
**Tags:** latest-dynatrace, dashboards\
**Created:** [May 28, 2023, 9:23am UTC](https://community.dynatrace.com/t/add-variables-in-new-dashboards/39949 "2023-05-28T09:23:26Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ShyamPradhan](https://avatars.discourse-cdn.com/v4/letter/s/f9ae1b/32.png) [@ShyamPradhan](https://community.dynatrace.com/u/ShyamPradhan)\
**Post date:** [May 28, 2023, 9:23am UTC](https://community.dynatrace.com/t/add-variables-in-new-dashboards/39949/1 "2023-05-28T09:23:26Z")

</div>

New Dashboards don’t have a way to get values for variables which depend on another variable. For example, there are variables A and B. Values of Variable B are dependent on the value we selected in A. Whenever I tried to write $A in B’s query it is giving me an error. Please fix this, as I think this is one of important thing to have in Dashboard in order to make it interactive.

---

<div class="post-metadata">

**Author:** ![Ana.Kuzmenchuk](https://avatars.discourse-cdn.com/v4/letter/a/c37758/32.png) [@Ana.Kuzmenchuk](https://community.dynatrace.com/u/Ana.Kuzmenchuk)\
**Post date:** [June 12, 2023, 2:42pm UTC](https://community.dynatrace.com/t/add-variables-in-new-dashboards/39949/2 "2023-06-12T14:42:10Z")

</div>

Hi&nbsp;[@ShyamPradhan](https://community.dynatrace.com/user/58648), did you have a chance to look throught&nbsp;[this entry about variables in Dashboards](https://www.dynatrace.com/support/help/observe-and-explore/dashboards-new/components/dashboard-component-variable)? If it doesn’t fully solve your issue, hopefully more Community members see your post now and come forward with a solution!

---

<div class="post-metadata">

**Author:** ![ShyamPradhan](https://avatars.discourse-cdn.com/v4/letter/s/f9ae1b/32.png) [@ShyamPradhan](https://community.dynatrace.com/u/ShyamPradhan)\
**Post date:** [June 12, 2023, 2:54pm UTC](https://community.dynatrace.com/t/add-variables-in-new-dashboards/39949/3 "2023-06-12T14:54:18Z")

</div>

Yes, I already read this documentation. It didn’t resolve my issue.

---

<div class="post-metadata">

**Author:** ![amrit3671](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@amrit3671](https://community.dynatrace.com/u/amrit3671)\
**Post date:** [July 11, 2023, 12:14pm UTC](https://community.dynatrace.com/t/add-variables-in-new-dashboards/39949/4 "2023-07-11T12:14:11Z")

</div>

Hi&nbsp;[@Ana\_Kuzmenchuk](https://community.dynatrace.com/user/52768)&nbsp; Could you please let me know if we have any solution for this problem as I am facing the same issue.

---

<div class="post-metadata">

**Author:** ![ShailPatel0204](https://avatars.discourse-cdn.com/v4/letter/s/a9a28c/32.png) [@ShailPatel0204](https://community.dynatrace.com/u/ShailPatel0204)\
**Post date:** [March 20, 2024, 2:07pm UTC](https://community.dynatrace.com/t/add-variables-in-new-dashboards/39949/5 "2024-03-20T14:07:08Z")

</div>

Hi&nbsp;[@Ana\_Kuzmenchuk](https://community.dynatrace.com/user/52768)&nbsp;, Is this problem resolved? We are also facing same issue. Unable to create interdependent variable, if dashboard have multiple of them. Can we achieve anything here using java script code?

---

<div class="post-metadata">

**Author:** ![KeithSanders](https://avatars.discourse-cdn.com/v4/letter/k/cab0a1/32.png) [@KeithSanders](https://community.dynatrace.com/u/KeithSanders)\
**Post date:** [July 26, 2024, 10:16am UTC](https://community.dynatrace.com/t/add-variables-in-new-dashboards/39949/6 "2024-07-26T10:16:27Z")

</div>

I’m also looking to get this working!!

---

<div class="post-metadata">

**Author:** ![zietho](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/zietho/32/41733_2.png) [@zietho](https://community.dynatrace.com/u/zietho)\
**Post date:** [April 22, 2025, 1:19pm UTC](https://community.dynatrace.com/t/add-variables-in-new-dashboards/39949/7 "2025-04-22T13:19:55Z")

</div>

Available since 1.290. Sorry didn’t see this earlier 😕

[https://docs.dynatrace.com/docs/shortlink/release-notes-saas-sprint-290#dashboard-variables-can-refer-to-other-dashboard-variables](https://docs.dynatrace.com/docs/shortlink/release-notes-saas-sprint-290#dashboard-variables-can-refer-to-other-dashboard-variables)
