<?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: Circular relationship in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Circular-relationship/m-p/891881#M12614</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it depends on full your data model, but&amp;nbsp;try to set Both direction on either Clientes-Date or Cabecera-Date relationships&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;I&gt;&lt;FONT color="#ababab"&gt;do not hesitate to give a kudo to useful posts and mark solutions as solution&lt;/FONT&gt;&lt;/I&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jan 2020 11:57:19 GMT</pubDate>
    <dc:creator>az38</dc:creator>
    <dc:date>2020-01-07T11:57:19Z</dc:date>
    <item>
      <title>Circular relationship</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Circular-relationship/m-p/891858#M12612</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I´m creating a new Report and need to create a relationship between the Date and Customers tables to calculate de number of Customers whose registration date is equal to the selected date.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can´t create this relationship because this causes a circular relationship.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you help me to solved this problem?&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2020 11:32:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Circular-relationship/m-p/891858#M12612</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-01-07T11:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: Circular relationship</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Circular-relationship/m-p/891881#M12614</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it depends on full your data model, but&amp;nbsp;try to set Both direction on either Clientes-Date or Cabecera-Date relationships&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;I&gt;&lt;FONT color="#ababab"&gt;do not hesitate to give a kudo to useful posts and mark solutions as solution&lt;/FONT&gt;&lt;/I&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2020 11:57:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Circular-relationship/m-p/891881#M12614</guid>
      <dc:creator>az38</dc:creator>
      <dc:date>2020-01-07T11:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: Circular relationship</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Circular-relationship/m-p/891902#M12615</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="82403" data-lia-user-login="az38" class="lia-mention lia-mention-user"&gt;az38&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for yor answer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I can't set both directions on the Cabecera-Date relationship because I have different measures in the Cabecera table. Some of these measures use SAMEPERIODLASTYEAR.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2020 12:14:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Circular-relationship/m-p/891902#M12615</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-01-07T12:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: Circular relationship</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Circular-relationship/m-p/891909#M12616</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;that's what i mean: for help show please your data model (example of data, measures and point where the error appears)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;I&gt;&lt;FONT color="#ababab"&gt;do not hesitate to give a kudo to useful posts and mark solutions as solution&lt;/FONT&gt;&lt;/I&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2020 12:20:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Circular-relationship/m-p/891909#M12616</guid>
      <dc:creator>az38</dc:creator>
      <dc:date>2020-01-07T12:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: Circular relationship</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Circular-relationship/m-p/891971#M12619</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I show you a data example on the picture with the measures. The relation between Cabecera and Clientes use the ID_CLIENTE column. The relacionship between Date and Cabecera use the column FECHA.&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to calculate the number of new customers by month (second graph) and filter all report by year. Example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2020 13:13:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Circular-relationship/m-p/891971#M12619</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-01-07T13:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: Circular relationship</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Circular-relationship/m-p/892657#M12624</link>
      <description>&lt;P&gt;You should be able to solve this by creating an inactive relationship between the Date and Clientes tables&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Then creating a measure with the USERELATIONSHIP function to activate this relationship for that measure.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Cliente Registrations = CALCULATE( countrows(Clientes), USERELATIONSHIP(Clientes[Fecha_Alta], Dates[Date]))&lt;/LI-CODE&gt;
&lt;P&gt;This will allow you to see other measures using the active relationship, but just for the count of client registrations to use the relationship between Clientes and Dates&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;eg.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2020 22:24:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Circular-relationship/m-p/892657#M12624</guid>
      <dc:creator>d_gosbell</dc:creator>
      <dc:date>2020-01-07T22:24:56Z</dc:date>
    </item>
  </channel>
</rss>

