<?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 Dataset relationships through the API in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Dataset-relationships-through-the-API/m-p/1242570#M24874</link>
    <description>&lt;P&gt;How do I get the Dataset relationships through the API?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, I am trying to call "&lt;STRONG&gt;&lt;EM&gt;client.Datasets.PostDatasetInGroupAsync(Guid groupId, CreateDatasetRequest dataset)&lt;/EM&gt;&lt;/STRONG&gt;"&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the groupID, so I am trying to create the "&lt;STRONG&gt;&lt;EM&gt;CreateDatasetRequest dataset&lt;/EM&gt;&lt;/STRONG&gt;".&lt;/P&gt;&lt;P&gt;"&lt;STRONG&gt;&lt;EM&gt;CreateDatasetRequest&lt;/EM&gt;&lt;/STRONG&gt; " is a class that looks like this:&lt;/P&gt;&lt;P class="lia-align-center"&gt;&lt;EM&gt;&lt;STRONG&gt;public string Name { get; set; }&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;public IList&amp;lt;Table&amp;gt; Tables { get; set; }&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public IList&amp;lt;Relationship&amp;gt; Relationships { get; set; }&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;public IList&amp;lt;Datasource&amp;gt; Datasources { get; set; }&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public DatasetMode? DefaultMode { get; set; }&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="lia-align-center"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-align-left"&gt;I need the Tables, the Relationships and the Datasources.&lt;/P&gt;&lt;P&gt;My dataset is basically a copy of another dataset, and I am getting the information from the copied datasource.&lt;/P&gt;&lt;P&gt;I can get Tables like this: &lt;EM&gt;&lt;STRONG&gt;client.Datasets.GetTablesInGroupAsync(workspaceId, datasetID)&lt;/STRONG&gt;&lt;/EM&gt;;&lt;/P&gt;&lt;P&gt;NOTE:&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;client.Datasets.GetTablesInGroupAsync(workspaceId, datasetID)&lt;/STRONG&gt;&lt;/EM&gt;; does not seem to work. it throws a NOT FOUND ERROR.&lt;/P&gt;&lt;P&gt;and the datasource like this:&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;client.Datasets.GetDatasourcesInGroupAsync(workspaceId, datasetID)&lt;/STRONG&gt;&lt;/EM&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I cannot find a way to get the Relationships.&lt;/P&gt;&lt;P&gt;Is there a way that I can do this?&lt;/P&gt;</description>
    <pubDate>Wed, 22 Jul 2020 18:25:44 GMT</pubDate>
    <dc:creator>TBardien</dc:creator>
    <dc:date>2020-07-22T18:25:44Z</dc:date>
    <item>
      <title>Dataset relationships through the API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Dataset-relationships-through-the-API/m-p/1242570#M24874</link>
      <description>&lt;P&gt;How do I get the Dataset relationships through the API?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, I am trying to call "&lt;STRONG&gt;&lt;EM&gt;client.Datasets.PostDatasetInGroupAsync(Guid groupId, CreateDatasetRequest dataset)&lt;/EM&gt;&lt;/STRONG&gt;"&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the groupID, so I am trying to create the "&lt;STRONG&gt;&lt;EM&gt;CreateDatasetRequest dataset&lt;/EM&gt;&lt;/STRONG&gt;".&lt;/P&gt;&lt;P&gt;"&lt;STRONG&gt;&lt;EM&gt;CreateDatasetRequest&lt;/EM&gt;&lt;/STRONG&gt; " is a class that looks like this:&lt;/P&gt;&lt;P class="lia-align-center"&gt;&lt;EM&gt;&lt;STRONG&gt;public string Name { get; set; }&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;public IList&amp;lt;Table&amp;gt; Tables { get; set; }&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public IList&amp;lt;Relationship&amp;gt; Relationships { get; set; }&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;public IList&amp;lt;Datasource&amp;gt; Datasources { get; set; }&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public DatasetMode? DefaultMode { get; set; }&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="lia-align-center"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-align-left"&gt;I need the Tables, the Relationships and the Datasources.&lt;/P&gt;&lt;P&gt;My dataset is basically a copy of another dataset, and I am getting the information from the copied datasource.&lt;/P&gt;&lt;P&gt;I can get Tables like this: &lt;EM&gt;&lt;STRONG&gt;client.Datasets.GetTablesInGroupAsync(workspaceId, datasetID)&lt;/STRONG&gt;&lt;/EM&gt;;&lt;/P&gt;&lt;P&gt;NOTE:&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;client.Datasets.GetTablesInGroupAsync(workspaceId, datasetID)&lt;/STRONG&gt;&lt;/EM&gt;; does not seem to work. it throws a NOT FOUND ERROR.&lt;/P&gt;&lt;P&gt;and the datasource like this:&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;client.Datasets.GetDatasourcesInGroupAsync(workspaceId, datasetID)&lt;/STRONG&gt;&lt;/EM&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I cannot find a way to get the Relationships.&lt;/P&gt;&lt;P&gt;Is there a way that I can do this?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2020 18:25:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Dataset-relationships-through-the-API/m-p/1242570#M24874</guid>
      <dc:creator>TBardien</dc:creator>
      <dc:date>2020-07-22T18:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: Dataset relationships through the API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Dataset-relationships-through-the-API/m-p/1243267#M24885</link>
      <description>&lt;P&gt;Connect to the XMLA endpoint and run your XMLA scripts aganst the DMVs.&amp;nbsp; Use DAX Studio or similar to experiment with that.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2020 00:37:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Dataset-relationships-through-the-API/m-p/1243267#M24885</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2020-07-23T00:37:12Z</dc:date>
    </item>
  </channel>
</rss>

