<?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 Power BI to Databricks Semantic Layer Generator (DAX → SQL/PySpark) in Community Articles</title>
    <link>https://community.databricks.com/t5/community-articles/power-bi-to-databricks-semantic-layer-generator-dax-sql-pyspark/m-p/115221#M408</link>
    <description>&lt;P class=""&gt;Hi everyone!&lt;/P&gt;&lt;P class=""&gt;I’ve just released an open-source tool that generates a semantic layer in &lt;SPAN class=""&gt;&lt;STRONG&gt;Databricks&lt;/STRONG&gt;&lt;/SPAN&gt; notebooks from a &lt;SPAN class=""&gt;&lt;STRONG&gt;Power BI&lt;/STRONG&gt;&lt;/SPAN&gt; dataset using the Power BI REST API. Im not an expert yet, but it gets job done and instead of using AtScale/dbt/or the PBI Semantic layer, I make it happen in a notebook that gets created as the semantic layer, and could be used to materialize in a view.&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;It extracts:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Tables&lt;/LI&gt;&lt;LI&gt;Relationships&lt;/LI&gt;&lt;LI&gt;DAX Measures&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;And generates a Databricks notebook with:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;SQL views (base + enriched with joins)&lt;/LI&gt;&lt;LI&gt;Auto-translated DAX measures to SQL or PySpark (e.g. &lt;SPAN class=""&gt;CALCULATE&lt;/SPAN&gt;, &lt;SPAN class=""&gt;DIVIDE&lt;/SPAN&gt;, &lt;SPAN class=""&gt;DISTINCTCOUNT&lt;/SPAN&gt;)&lt;/LI&gt;&lt;LI&gt;Optional materialization as Delta Tables&lt;/LI&gt;&lt;LI&gt;Documentation and editable blocks for custom business rules&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;&lt;span class="lia-unicode-emoji" title=":link:"&gt;🔗&lt;/span&gt; GitHub:&amp;nbsp;&lt;A href="https://github.com/mexmarv/powerbi-databricks-semantic-gen" target="_blank" rel="noopener"&gt;https://github.com/mexmarv/powerbi-databricks-semantic-gen&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;Example use case:&lt;/P&gt;&lt;P class=""&gt;If you maintain business logic in Power BI but need to operationalize it in the lakehouse — this gives you a way to translate and scale that logic to PySpark-based data products.&lt;/P&gt;&lt;P class=""&gt;It’s ideal for bridging the gap between BI tools and engineering workflows.&lt;/P&gt;&lt;P class=""&gt;I’d love your feedback or ideas for collaboration!&lt;/P&gt;&lt;P class=""&gt;..: Please, again this is helping the community, so feel free to contribute and modify to make it better, if it helps anyone out there ... you can always honor me a "mexican wine bottle" if this helps in anyway :..&lt;/P&gt;&lt;P class=""&gt;PS: Some spanish in there, perdón... and a little help from "el chato: ChatGPT".&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;- Marvin&lt;/P&gt;</description>
    <pubDate>Thu, 10 Apr 2025 21:12:52 GMT</pubDate>
    <dc:creator>marvin-alpura</dc:creator>
    <dc:date>2025-04-10T21:12:52Z</dc:date>
    <item>
      <title>Power BI to Databricks Semantic Layer Generator (DAX → SQL/PySpark)</title>
      <link>https://community.databricks.com/t5/community-articles/power-bi-to-databricks-semantic-layer-generator-dax-sql-pyspark/m-p/115221#M408</link>
      <description>&lt;P class=""&gt;Hi everyone!&lt;/P&gt;&lt;P class=""&gt;I’ve just released an open-source tool that generates a semantic layer in &lt;SPAN class=""&gt;&lt;STRONG&gt;Databricks&lt;/STRONG&gt;&lt;/SPAN&gt; notebooks from a &lt;SPAN class=""&gt;&lt;STRONG&gt;Power BI&lt;/STRONG&gt;&lt;/SPAN&gt; dataset using the Power BI REST API. Im not an expert yet, but it gets job done and instead of using AtScale/dbt/or the PBI Semantic layer, I make it happen in a notebook that gets created as the semantic layer, and could be used to materialize in a view.&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;It extracts:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Tables&lt;/LI&gt;&lt;LI&gt;Relationships&lt;/LI&gt;&lt;LI&gt;DAX Measures&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;And generates a Databricks notebook with:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;SQL views (base + enriched with joins)&lt;/LI&gt;&lt;LI&gt;Auto-translated DAX measures to SQL or PySpark (e.g. &lt;SPAN class=""&gt;CALCULATE&lt;/SPAN&gt;, &lt;SPAN class=""&gt;DIVIDE&lt;/SPAN&gt;, &lt;SPAN class=""&gt;DISTINCTCOUNT&lt;/SPAN&gt;)&lt;/LI&gt;&lt;LI&gt;Optional materialization as Delta Tables&lt;/LI&gt;&lt;LI&gt;Documentation and editable blocks for custom business rules&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;&lt;span class="lia-unicode-emoji" title=":link:"&gt;🔗&lt;/span&gt; GitHub:&amp;nbsp;&lt;A href="https://github.com/mexmarv/powerbi-databricks-semantic-gen" target="_blank" rel="noopener"&gt;https://github.com/mexmarv/powerbi-databricks-semantic-gen&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;Example use case:&lt;/P&gt;&lt;P class=""&gt;If you maintain business logic in Power BI but need to operationalize it in the lakehouse — this gives you a way to translate and scale that logic to PySpark-based data products.&lt;/P&gt;&lt;P class=""&gt;It’s ideal for bridging the gap between BI tools and engineering workflows.&lt;/P&gt;&lt;P class=""&gt;I’d love your feedback or ideas for collaboration!&lt;/P&gt;&lt;P class=""&gt;..: Please, again this is helping the community, so feel free to contribute and modify to make it better, if it helps anyone out there ... you can always honor me a "mexican wine bottle" if this helps in anyway :..&lt;/P&gt;&lt;P class=""&gt;PS: Some spanish in there, perdón... and a little help from "el chato: ChatGPT".&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;- Marvin&lt;/P&gt;</description>
      <pubDate>Thu, 10 Apr 2025 21:12:52 GMT</pubDate>
      <guid>https://community.databricks.com/t5/community-articles/power-bi-to-databricks-semantic-layer-generator-dax-sql-pyspark/m-p/115221#M408</guid>
      <dc:creator>marvin-alpura</dc:creator>
      <dc:date>2025-04-10T21:12:52Z</dc:date>
    </item>
  </channel>
</rss>

