<?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: Dax Studio - Python Connection in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Studio-Python-Connection/m-p/4843998#M184902</link>
    <description>&lt;P&gt;Hi&amp;nbsp; &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="389887" data-lia-user-login="mithunt" class="lia-mention lia-mention-user"&gt;mithunt&lt;/a&gt;&amp;nbsp;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;I would also take a moment to thank &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1340679" data-lia-user-login="tayloramy" class="lia-mention lia-mention-user"&gt;tayloramy&lt;/a&gt;&amp;nbsp;  , for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. Your contributions make a real difference.&amp;nbsp;&lt;BR /&gt;I hope the above details help you fix the issue. If you still have any questions or need more help, feel free to reach out. We’re always here to support you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&amp;nbsp;&lt;BR /&gt;Community Support Team&lt;/P&gt;</description>
    <pubDate>Tue, 07 Oct 2025 04:42:13 GMT</pubDate>
    <dc:creator>v-menakakota</dc:creator>
    <dc:date>2025-10-07T04:42:13Z</dc:date>
    <item>
      <title>Dax Studio - Python Connection</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Studio-Python-Connection/m-p/4843086#M184874</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is a plan to move data source from one database to another for which it would be essential for us to understand the dashboards within a workspace.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have explored few options in Dax Studio which has capability to return Measures, Columns, Catalogs (Dashboards) and other details of a specific workspace.&amp;nbsp;&lt;/P&gt;&lt;P&gt;However if I need to get a detailed inforamtion across all the Power BI Dashboards in a workspace, the commands below would not allow me to.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SELECT&lt;/SPAN&gt; &lt;SPAN&gt;[CATALOG_NAME]&lt;/SPAN&gt; &lt;SPAN&gt;FROM&lt;/SPAN&gt; &lt;SPAN&gt;$SYSTEM&lt;/SPAN&gt;.DBSCHEMA_CATALOGS&lt;BR /&gt;&lt;SPAN&gt;SELECT&lt;/SPAN&gt; &lt;SPAN&gt;[CATALOG_NAME]&lt;/SPAN&gt; &lt;SPAN&gt;FROM&lt;/SPAN&gt; &lt;SPAN&gt;$SYSTEM&lt;/SPAN&gt;.DBSCHEMA_CATALOGS,&lt;BR /&gt;&lt;SPAN&gt;SELECT&lt;/SPAN&gt; &lt;SPAN&gt;[ID]&lt;/SPAN&gt;,&lt;SPAN&gt;[Name]&lt;/SPAN&gt; &lt;SPAN&gt;FROM&lt;/SPAN&gt; &lt;SPAN&gt;$SYSTEM&lt;/SPAN&gt;.TMSCHEMA_TABLES &lt;SPAN&gt;WHERE&lt;/SPAN&gt; &lt;SPAN&gt;NOT&lt;/SPAN&gt; &lt;SPAN&gt;[IsHidden]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SELECT&lt;/SPAN&gt; * &lt;SPAN&gt;FROM&lt;/SPAN&gt; &lt;SPAN&gt;$SYSTEM&lt;/SPAN&gt;.TMSCHEMA_COLUMNS &lt;SPAN&gt;WHERE&lt;/SPAN&gt; &lt;SPAN&gt;NOT&lt;/SPAN&gt; &lt;SPAN&gt;[IsHidden]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SELECT&lt;/SPAN&gt; &lt;SPAN&gt;[ID]&lt;/SPAN&gt;,&lt;SPAN&gt;[TableID]&lt;/SPAN&gt;,&lt;SPAN&gt;[Name]&lt;/SPAN&gt;,&lt;SPAN&gt;[QueryDefinition]&lt;/SPAN&gt; &lt;SPAN&gt;FROM&lt;/SPAN&gt; &lt;SPAN&gt;$SYSTEM&lt;/SPAN&gt;.TMSCHEMA_PARTITIONS&lt;BR /&gt;&lt;SPAN&gt;SELECT&lt;/SPAN&gt; &lt;SPAN&gt;[ID]&lt;/SPAN&gt;,&lt;SPAN&gt;[TableID]&lt;/SPAN&gt;,&lt;SPAN&gt;[Name]&lt;/SPAN&gt;,&lt;SPAN&gt;[Expression]&lt;/SPAN&gt; &lt;SPAN&gt;FROM&lt;/SPAN&gt; &lt;SPAN&gt;$SYSTEM&lt;/SPAN&gt;.TMSCHEMA_MEASURES &lt;SPAN&gt;WHERE&lt;/SPAN&gt; &lt;SPAN&gt;NOT&lt;/SPAN&gt; &lt;SPAN&gt;[IsHidden]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SELECT&lt;/SPAN&gt; * &lt;SPAN&gt;FROM&lt;/SPAN&gt; &lt;SPAN&gt;$SYSTEM&lt;/SPAN&gt;.TMSCHEMA_RELATIONSHIPS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Requesting your guidance if there is a way I can loop through all the commands above and get the data into Excel format or into SQL or connect to Power BI directly so that I can analyze it further.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mithun T&lt;/P&gt;</description>
      <pubDate>Mon, 06 Oct 2025 09:57:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Studio-Python-Connection/m-p/4843086#M184874</guid>
      <dc:creator>mithunt</dc:creator>
      <dc:date>2025-10-06T09:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Studio - Python Connection</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Studio-Python-Connection/m-p/4843449#M184880</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="389887" data-lia-user-login="mithunt" class="lia-mention lia-mention-user"&gt;mithunt&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You’re on the right track using the $SYSTEM DMVs. The trick is to (1) enumerate every dataset (catalog) in the workspace, then (2) loop your DMV queries against each catalog, and (3) export to CSV/Excel or land it in SQL for analysis.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;– &lt;STRONG&gt;If you just need files fast:&lt;/STRONG&gt; Use &lt;STRONG&gt;DAX Studio’s command-line&lt;/STRONG&gt; to loop a workspace and &lt;STRONG&gt;export DMV results to CSV/XLSX or straight to SQL&lt;/STRONG&gt;. It’s simple and robust. &lt;A href="https://daxstudio.org/docs/features/command-line/commands/" target="_blank" rel="noopener"&gt;Docs&lt;/A&gt;, &lt;A href="https://daxstudio.org/docs/features/output-modes/" target="_blank" rel="noopener"&gt;output modes&lt;/A&gt;.&lt;BR /&gt;– &lt;STRONG&gt;If you want code &amp;amp; full control:&lt;/STRONG&gt; Use &lt;STRONG&gt;Python&lt;/STRONG&gt; + XMLA (e.g., &lt;STRONG&gt;pyadomd&lt;/STRONG&gt;/&lt;STRONG&gt;python-tabular&lt;/STRONG&gt;) to connect to each dataset and run your DMV statements, then write to Excel/SQL.&lt;BR /&gt;– &lt;STRONG&gt;If you want full workspace inventory (reports, dashboards, lineages, permissions):&lt;/STRONG&gt; Use the &lt;STRONG&gt;Power BI Admin Scanner APIs&lt;/STRONG&gt; to pull metadata for &lt;EM&gt;all&lt;/EM&gt; artifacts in one shot, then optionally enrich with DMV details via XMLA. &lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/admin/workspace-info-get-scan-result" target="_blank" rel="noopener"&gt;Admin – WorkspaceInfo&lt;/A&gt;, &lt;A href="https://learn.microsoft.com/en-us/fabric/governance/metadata-scanning-run" target="_blank" rel="noopener"&gt;Scanner quickstart&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Note:&lt;/EM&gt; Querying XMLA endpoints (DMVs/TOM) requires the workspace to run on &lt;STRONG&gt;Premium/Fabric capacity (or PPU)&lt;/STRONG&gt;. &lt;A href="https://learn.microsoft.com/en-us/fabric/enterprise/powerbi/service-premium-connect-tools" target="_blank" rel="noopener"&gt;XMLA endpoint overview&lt;/A&gt;, &lt;A href="https://learn.microsoft.com/en-us/fabric/enterprise/powerbi/service-premium-features" target="_blank" rel="noopener"&gt;Premium features&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;If you found this helpful, consider giving some Kudos. If I answered your question or solved your problem, mark this post as the solution.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Oct 2025 13:44:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Studio-Python-Connection/m-p/4843449#M184880</guid>
      <dc:creator>tayloramy</dc:creator>
      <dc:date>2025-10-06T13:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Studio - Python Connection</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Studio-Python-Connection/m-p/4843998#M184902</link>
      <description>&lt;P&gt;Hi&amp;nbsp; &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="389887" data-lia-user-login="mithunt" class="lia-mention lia-mention-user"&gt;mithunt&lt;/a&gt;&amp;nbsp;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;I would also take a moment to thank &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1340679" data-lia-user-login="tayloramy" class="lia-mention lia-mention-user"&gt;tayloramy&lt;/a&gt;&amp;nbsp;  , for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. Your contributions make a real difference.&amp;nbsp;&lt;BR /&gt;I hope the above details help you fix the issue. If you still have any questions or need more help, feel free to reach out. We’re always here to support you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&amp;nbsp;&lt;BR /&gt;Community Support Team&lt;/P&gt;</description>
      <pubDate>Tue, 07 Oct 2025 04:42:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Studio-Python-Connection/m-p/4843998#M184902</guid>
      <dc:creator>v-menakakota</dc:creator>
      <dc:date>2025-10-07T04:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Studio - Python Connection</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Studio-Python-Connection/m-p/4844254#M184908</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1340679" data-lia-user-login="tayloramy" class="lia-mention lia-mention-user"&gt;tayloramy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the update,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ill give it a try based on your suggestions, however let me know if you already have tried and the method you used worked for you in pulling all the required data in a workspace.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Oct 2025 09:07:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Studio-Python-Connection/m-p/4844254#M184908</guid>
      <dc:creator>mithunt</dc:creator>
      <dc:date>2025-10-07T09:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Studio - Python Connection</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Studio-Python-Connection/m-p/4845104#M184922</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="389887" data-lia-user-login="mithunt" class="lia-mention lia-mention-user"&gt;mithunt&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Thank you for the update, can you please reply back once after you try it.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&amp;nbsp;&lt;BR /&gt;Community Support Team.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Oct 2025 05:16:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Studio-Python-Connection/m-p/4845104#M184922</guid>
      <dc:creator>v-menakakota</dc:creator>
      <dc:date>2025-10-08T05:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Studio - Python Connection</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Studio-Python-Connection/m-p/4847451#M184996</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="389887" data-lia-user-login="mithunt" class="lia-mention lia-mention-user"&gt;mithunt&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Can you please confirm whether the issue got sorted or not. Did you get a chance to try the workaround.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards,&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Community Support Team.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Oct 2025 09:37:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Studio-Python-Connection/m-p/4847451#M184996</guid>
      <dc:creator>v-menakakota</dc:creator>
      <dc:date>2025-10-10T09:37:04Z</dc:date>
    </item>
  </channel>
</rss>

