<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Linking Workspace IDs to Names in Billing Schema in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/linking-workspace-ids-to-names-in-billing-schema/m-p/117753#M9914</link>
    <description>&lt;P&gt;I got this from their older version of the dashboard.&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;dbdemos uc-04-system-tables&lt;/STRONG&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;When everything is executed, go to your graph in the dashboard, click three dots in the top right, select in my case "View dataset:usage_overview"&amp;nbsp;then paste/modify sql code as below. This will hardcode the workspace name into your dashboard.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;-- parse workspaces json&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;workspace &lt;/SPAN&gt;&lt;SPAN&gt;as&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;select&lt;/SPAN&gt;&lt;SPAN&gt; explode(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; map_entries(from_json(&lt;/SPAN&gt;&lt;SPAN&gt;'{&lt;EM&gt;"2049501200185xyz":"namexyz","1944008075660xyz":"name2nyz","8293066424636xyz":"name3nyz"&lt;/EM&gt;}'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'map&amp;lt;string,string&amp;gt;'&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; ) &lt;/SPAN&gt;&lt;SPAN&gt;as&lt;/SPAN&gt;&lt;SPAN&gt; kvp,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; kvp['key'] &lt;/SPAN&gt;&lt;SPAN&gt;as&lt;/SPAN&gt;&lt;SPAN&gt; workspace_id,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; kvp['value'] &lt;/SPAN&gt;&lt;SPAN&gt;as&lt;/SPAN&gt;&lt;SPAN&gt; workspace_name&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;-- apply date filter&lt;/STRONG&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 05 May 2025 19:08:13 GMT</pubDate>
    <dc:creator>andreji</dc:creator>
    <dc:date>2025-05-05T19:08:13Z</dc:date>
    <item>
      <title>Linking Workspace IDs to Names in Billing Schema</title>
      <link>https://community.databricks.com/t5/get-started-discussions/linking-workspace-ids-to-names-in-billing-schema/m-p/81767#M3555</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;We recently enabled UC and the Billing system table to monitor our usage and costs. We've successfully set up a dashboard to track these metrics for each workspace. The usage table includes the workspace_id, but I'm having trouble finding a way to map these IDs to their corresponding workspace names.&amp;nbsp;&lt;A href="https://compassmobile-dollartree.pro/" target="_self"&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#FFFFFF"&gt;compassmobiletree&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Since the System Tables feature is still in preview and not all tables are available yet, I'm curious if there's any plan to include workspace names in the "usage" table in the near future. If not, what would be the best approach to create a table that links workspace_id with workspace_name, considering I don't have access to the Databricks account level?&lt;/P&gt;</description>
      <pubDate>Sun, 04 Aug 2024 16:41:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/linking-workspace-ids-to-names-in-billing-schema/m-p/81767#M3555</guid>
      <dc:creator>TravisBrowne</dc:creator>
      <dc:date>2024-08-04T16:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: Linking Workspace IDs to Names in Billing Schema</title>
      <link>https://community.databricks.com/t5/get-started-discussions/linking-workspace-ids-to-names-in-billing-schema/m-p/117753#M9914</link>
      <description>&lt;P&gt;I got this from their older version of the dashboard.&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;dbdemos uc-04-system-tables&lt;/STRONG&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;When everything is executed, go to your graph in the dashboard, click three dots in the top right, select in my case "View dataset:usage_overview"&amp;nbsp;then paste/modify sql code as below. This will hardcode the workspace name into your dashboard.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;-- parse workspaces json&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;workspace &lt;/SPAN&gt;&lt;SPAN&gt;as&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;select&lt;/SPAN&gt;&lt;SPAN&gt; explode(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; map_entries(from_json(&lt;/SPAN&gt;&lt;SPAN&gt;'{&lt;EM&gt;"2049501200185xyz":"namexyz","1944008075660xyz":"name2nyz","8293066424636xyz":"name3nyz"&lt;/EM&gt;}'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'map&amp;lt;string,string&amp;gt;'&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; ) &lt;/SPAN&gt;&lt;SPAN&gt;as&lt;/SPAN&gt;&lt;SPAN&gt; kvp,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; kvp['key'] &lt;/SPAN&gt;&lt;SPAN&gt;as&lt;/SPAN&gt;&lt;SPAN&gt; workspace_id,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; kvp['value'] &lt;/SPAN&gt;&lt;SPAN&gt;as&lt;/SPAN&gt;&lt;SPAN&gt; workspace_name&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;-- apply date filter&lt;/STRONG&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 05 May 2025 19:08:13 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/linking-workspace-ids-to-names-in-billing-schema/m-p/117753#M9914</guid>
      <dc:creator>andreji</dc:creator>
      <dc:date>2025-05-05T19:08:13Z</dc:date>
    </item>
  </channel>
</rss>

