<?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: Report visuals after programmatic relationship creation in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Report-visuals-after-programmatic-relationship-creation/m-p/1932741#M30273</link>
    <description>&lt;P&gt;Hi, the relationship was created programatically using the microsoft.analysisservices.tabular libraries. It is the same way that I created the dataset. there are no other relationships&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The page is still functiuonal but the visual (a matrix table in this instance) shows the error message saying it cant display because there isnt a relationship, despite it existing in the dataset but the rest of the report is absolutely fine. After 3-5 minutes, refreshing the visual now picks up the new relationship and works as intended&lt;/P&gt;</description>
    <pubDate>Thu, 01 Jul 2021 08:55:17 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-07-01T08:55:17Z</dc:date>
    <item>
      <title>Report visuals after programmatic relationship creation</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Report-visuals-after-programmatic-relationship-creation/m-p/1927747#M30211</link>
      <description>&lt;DIV&gt;Hi, I am having a weird issue.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I create my whole dataset from scratch using the microsoft analysis service tabular libraries in c#.&lt;/DIV&gt;&lt;DIV&gt;This is all fine but if i create a new relationship between two tables programatically and push it to the dataset in powerbi then any existing reports I have do not "see" this relationship straight away but instead it seems to be on approximately a 5 minute lag.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;It doesn't seem to make any difference refreshing the dataset or refreshing the report visuals until this lag finishes in which case as soon as i click to refresh the report visuals, the relationship starts working.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Is it the case that even after you trigger a dataset refresh, the power bi reports see some sort of server cached version until that cache expires and there is nothing I can do about it or is there a better way I can make imiediate relationship changes programmatically?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Just to flesh things out, it isnt a browser cache issue because even if i create a brand new report against that dataset it still sees the "old" data/schema until this lag finishes where it, along with the other report, starts working fine.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks for any help&lt;/DIV&gt;</description>
      <pubDate>Tue, 29 Jun 2021 08:53:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Report-visuals-after-programmatic-relationship-creation/m-p/1927747#M30211</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-29T08:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Report visuals after programmatic relationship creation</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Report-visuals-after-programmatic-relationship-creation/m-p/1932344#M30262</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;How did you create the relationship between these two tables? Is there any other relationship created between them before you create this relationship programatically? The 5-minute lag you mentioned is that the page will stand still or will it be a blank page or there will be a pop-up window similar to alarm?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/analysis-services/tabular-models/relationships-ssas-tabular?view=asallproducts-allversions#requirements-for-relationships" target="_self"&gt;&lt;STRONG&gt;Requirements for relationships&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 06:34:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Report-visuals-after-programmatic-relationship-creation/m-p/1932344#M30262</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-07-01T06:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: Report visuals after programmatic relationship creation</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Report-visuals-after-programmatic-relationship-creation/m-p/1932741#M30273</link>
      <description>&lt;P&gt;Hi, the relationship was created programatically using the microsoft.analysisservices.tabular libraries. It is the same way that I created the dataset. there are no other relationships&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The page is still functiuonal but the visual (a matrix table in this instance) shows the error message saying it cant display because there isnt a relationship, despite it existing in the dataset but the rest of the report is absolutely fine. After 3-5 minutes, refreshing the visual now picks up the new relationship and works as intended&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 08:55:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Report-visuals-after-programmatic-relationship-creation/m-p/1932741#M30273</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-07-01T08:55:17Z</dc:date>
    </item>
  </channel>
</rss>

