<?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 Read from Semantic Model with Spark SQL in Pipelines</title>
    <link>https://community.fabric.microsoft.com/t5/Pipelines/Read-from-Semantic-Model-with-Spark-SQL/m-p/3674659#M1740</link>
    <description>&lt;P&gt;I'm trying to use a notebook to read data from a sematic model in a different workspace to the notebook. Following the guide here:&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-science/read-write-power-bi#read-data-using-spark-in-python-r-sql-and-scala" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/fabric/data-science/read-write-power-bi#read-data-using-spark-in-python-r-sql-and-scala&lt;/A&gt;&lt;BR /&gt;I can read data from the same worksapce, but when I try to extend it to different workspace as outlined in the documentation I get the following error when trying to show the tables:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Py4JJavaError: An error occurred while calling o297.sql.
: spray.json.DeserializationException: Object is missing required member 'configuredBy'&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am an admin in the the notebook workspace and the workspace I am trying to access.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance for any help.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Feb 2024 05:26:12 GMT</pubDate>
    <dc:creator>Brendan151</dc:creator>
    <dc:date>2024-02-02T05:26:12Z</dc:date>
    <item>
      <title>Read from Semantic Model with Spark SQL</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Read-from-Semantic-Model-with-Spark-SQL/m-p/3674659#M1740</link>
      <description>&lt;P&gt;I'm trying to use a notebook to read data from a sematic model in a different workspace to the notebook. Following the guide here:&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-science/read-write-power-bi#read-data-using-spark-in-python-r-sql-and-scala" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/fabric/data-science/read-write-power-bi#read-data-using-spark-in-python-r-sql-and-scala&lt;/A&gt;&lt;BR /&gt;I can read data from the same worksapce, but when I try to extend it to different workspace as outlined in the documentation I get the following error when trying to show the tables:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Py4JJavaError: An error occurred while calling o297.sql.
: spray.json.DeserializationException: Object is missing required member 'configuredBy'&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am an admin in the the notebook workspace and the workspace I am trying to access.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance for any help.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 05:26:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Read-from-Semantic-Model-with-Spark-SQL/m-p/3674659#M1740</guid>
      <dc:creator>Brendan151</dc:creator>
      <dc:date>2024-02-02T05:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: Read from Semantic Model with Spark SQL</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Read-from-Semantic-Model-with-Spark-SQL/m-p/3679845#M1760</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="575684" data-lia-user-login="Brendan151" class="lia-mention lia-mention-user"&gt;Brendan151&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for using Microsoft Fabric Community.&lt;/P&gt;
&lt;P&gt;Apologies for the inconvenience.&lt;/P&gt;
&lt;P&gt;As I understand that you are getting an error when trying to read data from a semantic model in a different workspace using a notebook in Microsoft Fabric.&lt;/P&gt;
&lt;P&gt;The following troubleshooting steps might help you:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;If you are using an older version of the SemPy library that does not support cross-workspace access. Could you please update the SemPy library to the latest version by running this code in a notebook cell:&lt;/LI&gt;
&lt;/UL&gt;
&lt;LI-CODE lang="python"&gt;%pip install --upgrade semantic-link
import sempy.fabric as fabric&lt;/LI-CODE&gt;
&lt;UL&gt;
&lt;LI&gt;You are not providing the correct workspace name or ID when calling the SemPy methods. You need to make sure that the workspace name or ID matches the one in the Fabric UI.&amp;nbsp;&lt;/LI&gt;
&lt;LI data-sourcepos="24:1-24:107"&gt;&lt;SPAN&gt;The error message "spray.&lt;/SPAN&gt;&lt;SPAN&gt;json.&lt;/SPAN&gt;&lt;SPAN&gt;DeserializationException:&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Object is missing required member 'configuredBy'" suggests a missing configuration element.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I hope this information helps. Please do let us know if you have any further questions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 09:44:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Read-from-Semantic-Model-with-Spark-SQL/m-p/3679845#M1760</guid>
      <dc:creator>v-cboorla-msft</dc:creator>
      <dc:date>2024-02-05T09:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: Read from Semantic Model with Spark SQL</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Read-from-Semantic-Model-with-Spark-SQL/m-p/3681458#M1768</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="608020" data-lia-user-login="v-cboorla-msft" class="lia-mention lia-mention-user"&gt;v-cboorla-msft&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the latest version of SemPy but the documentation confirms SemPy is not needed for this and I have confirmed the ID matches that shown in the UI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;spark.conf.set("spark.sql.catalog.pbi", "com.microsoft.azure.synapse.ml.powerbi.PowerBICatalog")
spark.conf.set("spark.sql.catalog.pbi.workspace", "&amp;lt;ID&amp;gt;")

spark.sql("SHOW TABLES FROM pbi").show(1000, truncate=False)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not sure where to add a Configured by element?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 23:31:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Read-from-Semantic-Model-with-Spark-SQL/m-p/3681458#M1768</guid>
      <dc:creator>Brendan151</dc:creator>
      <dc:date>2024-02-05T23:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: Read from Semantic Model with Spark SQL</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Read-from-Semantic-Model-with-Spark-SQL/m-p/3688863#M1822</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="575684" data-lia-user-login="Brendan151" class="lia-mention lia-mention-user"&gt;Brendan151&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Inorder to understand the exact issue,&amp;nbsp;it requires a deeper investigation from our engineering team about your workspace and the logic behind it to properly understand what might be happening.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please go ahead and raise a support ticket to reach our support team:&amp;nbsp;&lt;A href="https://support.fabric.microsoft.com/support" target="_blank" rel="nofollow noopener noreferrer"&gt;support-ticket&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Please provide the ticket number here as we can keep an eye on it.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 16:20:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Read-from-Semantic-Model-with-Spark-SQL/m-p/3688863#M1822</guid>
      <dc:creator>v-cboorla-msft</dc:creator>
      <dc:date>2024-02-08T16:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Read from Semantic Model with Spark SQL</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Read-from-Semantic-Model-with-Spark-SQL/m-p/3693614#M1838</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="575684" data-lia-user-login="Brendan151" class="lia-mention lia-mention-user"&gt;Brendan151&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Following up to see on the last response whether you got a chance to create a support ticket. If yes please provide the ticket number here as we can keep an eye on it. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Otherwise, will respond back with the more details and we will try to help.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 08:32:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Read-from-Semantic-Model-with-Spark-SQL/m-p/3693614#M1838</guid>
      <dc:creator>v-cboorla-msft</dc:creator>
      <dc:date>2024-02-12T08:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: Read from Semantic Model with Spark SQL</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Read-from-Semantic-Model-with-Spark-SQL/m-p/3695408#M1844</link>
      <description>&lt;P&gt;Thanks, I have raised a ticket with support (2402130030001207).&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 05:05:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Read-from-Semantic-Model-with-Spark-SQL/m-p/3695408#M1844</guid>
      <dc:creator>Brendan151</dc:creator>
      <dc:date>2024-02-13T05:05:37Z</dc:date>
    </item>
  </channel>
</rss>

