<?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 Relationships not working in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relationships-not-working/m-p/4040706#M160225</link>
    <description>&lt;P&gt;&lt;EM&gt;hello community,&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;i need help because i am stuck with a table not responding to my request:&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;i have three colonnes.&lt;BR /&gt;From the same table but impossible to find what I want :&amp;nbsp;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;Project Name&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;Consume workload&amp;nbsp;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;distinct number of Authors&amp;nbsp;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;only 1 filter from a slicer : date week for a date master table.&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;The problem it's the table show me only one project and there author.&amp;nbsp;&lt;BR /&gt;I'm from the table view I can see all the infos. I don't understand why not on the report view.&amp;nbsp;&lt;BR /&gt;thx for your help&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 13 Jul 2024 17:38:26 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-07-13T17:38:26Z</dc:date>
    <item>
      <title>Relationships not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relationships-not-working/m-p/4040706#M160225</link>
      <description>&lt;P&gt;&lt;EM&gt;hello community,&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;i need help because i am stuck with a table not responding to my request:&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;i have three colonnes.&lt;BR /&gt;From the same table but impossible to find what I want :&amp;nbsp;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;Project Name&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;Consume workload&amp;nbsp;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;distinct number of Authors&amp;nbsp;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;only 1 filter from a slicer : date week for a date master table.&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;The problem it's the table show me only one project and there author.&amp;nbsp;&lt;BR /&gt;I'm from the table view I can see all the infos. I don't understand why not on the report view.&amp;nbsp;&lt;BR /&gt;thx for your help&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jul 2024 17:38:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relationships-not-working/m-p/4040706#M160225</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-13T17:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: Relationships not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relationships-not-working/m-p/4041894#M160266</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;Can you share the pbix file?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BBF&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2024 07:16:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relationships-not-working/m-p/4041894#M160266</guid>
      <dc:creator>BeaBF</dc:creator>
      <dc:date>2024-07-15T07:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: Relationships not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relationships-not-working/m-p/4041967#M160273</link>
      <description>&lt;P&gt;Hello &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="202311" data-lia-user-login="BeaBF" class="lia-mention lia-mention-user"&gt;BeaBF&lt;/a&gt; ,&lt;BR /&gt;&lt;BR /&gt;I apologize, but I can't share the data as it is sensitive.&lt;BR /&gt;However, I can share my formulas with you if that helps.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2024 07:50:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relationships-not-working/m-p/4041967#M160273</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-15T07:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: Relationships not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relationships-not-working/m-p/4041980#M160275</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;Yes, shares formulas and if you can a sample of datas on which you calculate those formulas.&lt;/P&gt;&lt;P&gt;In particular, those datas that you should see on visuals but don't return.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One question, the date table has a relationship with the fact table?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BBF&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2024 07:59:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relationships-not-working/m-p/4041980#M160275</guid>
      <dc:creator>BeaBF</dc:creator>
      <dc:date>2024-07-15T07:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: Relationships not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relationships-not-working/m-p/4041987#M160276</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Context:&lt;/STRONG&gt; We faced challenges in correctly filtering data in a specific visual of our Power BI report, particularly in calculating the distinct count of authors by project and week using a date slicer.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;H3&gt;Formulas Used&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Consumed Workload:&lt;BR /&gt;&lt;/STRONG&gt;&lt;BR /&gt;Consumed Workload =&lt;BR /&gt;CALCULATE(&lt;BR /&gt;SUM('Worklogs'[Division]),&lt;BR /&gt;REMOVEFILTERS('Date Master'[Week])&lt;BR /&gt;)&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;STRONG&gt;Purpose:&lt;/STRONG&gt; To calculate the sum of divisions from worklogs without being affected by the Date Master week filter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Distinct Authors by Week and Project:&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Distinct Authors by Week and Project =&lt;BR /&gt;CALCULATE(&lt;BR /&gt;DISTINCTCOUNT(Worklogs[AUTHOR_NAME]),&lt;BR /&gt;TREATAS(VALUES('Date Master'[Week]), Worklogs[Week]),&lt;BR /&gt;TREATAS(VALUES('Date Master'[Year]), Worklogs[Year])&lt;BR /&gt;)&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Purpose:&lt;/STRONG&gt; To calculate the distinct count of authors by project and week by applying Date Master filters to Worklogs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H3&gt;Table Relationships&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Projects&lt;/STRONG&gt; (PROJECT_ID) to &lt;STRONG&gt;Issues&lt;/STRONG&gt; (PROJECT_ID):&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Type: One-to-Many&lt;/LI&gt;&lt;LI&gt;Active relationship, essential for linking projects to issues.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Issues&lt;/STRONG&gt; (ISSUE_ID) to &lt;STRONG&gt;Worklogs&lt;/STRONG&gt; (ISSUE_ID):&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Type: One-to-Many&lt;/LI&gt;&lt;LI&gt;Active relationship, necessary for connecting issues to worklogs.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Date Master&lt;/STRONG&gt; (Week) to &lt;STRONG&gt;Worklogs&lt;/STRONG&gt; (Week):&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Type: One-to-Many&lt;/LI&gt;&lt;LI&gt;Active relationship, enabling filtering of worklogs by week through Date Master.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;H3&gt;Problems Encountered&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Filter Interference:&lt;/STRONG&gt; Using the Date Master[Week] slicer for all visuals resulted in incorrect data in the project table because it wasn't directly connected to Worklogs.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Complex Relationships:&lt;/STRONG&gt; Attempts to enforce relationships and filters through DAX measures did not yield the expected results.&lt;/LI&gt;&lt;/UL&gt;&lt;H3&gt;Solution Implemented&lt;/H3&gt;&lt;P&gt;To resolve this issue, I decided to use two distinct date slicers:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Worklogs[Week] Slicer:&lt;/STRONG&gt; Used only for the table displaying project names, Consumed Workload, and Weekly Resources.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Date Master[Week] Slicer:&lt;/STRONG&gt; Used for all other visuals in the report.&lt;/LI&gt;&lt;/OL&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Consumed Workload:&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;dax&lt;/SPAN&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Mon, 15 Jul 2024 08:01:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Relationships-not-working/m-p/4041987#M160276</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-15T08:01:23Z</dc:date>
    </item>
  </channel>
</rss>

