<?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: Visualising based on two level of calculation in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Visualising-based-on-two-level-of-calculation/m-p/1353309#M24411</link>
    <description>&lt;P&gt;It is the second column of the second table "Number of location". it shows that a person is took part in how many location.&lt;BR /&gt;I hope I could describe it!&lt;/P&gt;</description>
    <pubDate>Tue, 08 Sep 2020 03:00:29 GMT</pubDate>
    <dc:creator>SadStatue</dc:creator>
    <dc:date>2020-09-08T03:00:29Z</dc:date>
    <item>
      <title>Visualising based on two level of calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Visualising-based-on-two-level-of-calculation/m-p/1353204#M24407</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have fact table as below:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Person&lt;/TD&gt;&lt;TD&gt;Location&lt;/TD&gt;&lt;TD&gt;Date&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;a&lt;/TD&gt;&lt;TD&gt;1/01/2020&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;b&lt;/TD&gt;&lt;TD&gt;2/01/2020&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;c&lt;/TD&gt;&lt;TD&gt;2/02/2020&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;d&lt;/TD&gt;&lt;TD&gt;3/02/2020&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;D&lt;/TD&gt;&lt;TD&gt;a&lt;/TD&gt;&lt;TD&gt;1/01/2020&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;a&lt;/TD&gt;&lt;TD&gt;2/01/2020&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;b&lt;/TD&gt;&lt;TD&gt;2/02/2020&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;c&lt;/TD&gt;&lt;TD&gt;3/02/2020&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;d&lt;/TD&gt;&lt;TD&gt;4/02/2020&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have 4 person who works in different locations I need to calculate the number of locations they are working in dynamicaly (as I need to put a date slicer)&lt;/P&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;person&lt;/TD&gt;&lt;TD&gt;number of locations&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;D&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;But what I want to visualize as the final step is the frequency of the number of locations as below:&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;All in a dynamic manner so I can put a date Slicer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Tue, 08 Sep 2020 02:25:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Visualising-based-on-two-level-of-calculation/m-p/1353204#M24407</guid>
      <dc:creator>SadStatue</dc:creator>
      <dc:date>2020-09-08T02:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: Visualising based on two level of calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Visualising-based-on-two-level-of-calculation/m-p/1353249#M24408</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="174704" data-lia-user-login="SadStatue" class="lia-mention lia-mention-user"&gt;SadStatue&lt;/a&gt;&amp;nbsp;- What is the x-axis in your graph represent? Is that the location (a b c d)?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2020 02:36:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Visualising-based-on-two-level-of-calculation/m-p/1353249#M24408</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-09-08T02:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: Visualising based on two level of calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Visualising-based-on-two-level-of-calculation/m-p/1353296#M24409</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="174704" data-lia-user-login="SadStatue" class="lia-mention lia-mention-user"&gt;SadStatue&lt;/a&gt; , Not very clear. But see if binning and segmentation can help &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.daxpatterns.com/dynamic-segmentation/" target="_blank"&gt;https://www.daxpatterns.com/dynamic-segmentation/&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.daxpatterns.com/static-segmentation/" target="_blank"&gt;https://www.daxpatterns.com/static-segmentation/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://radacad.com/dynamic-banding-or-grouping-in-power-bi-using-dax-measures-choose-the-size-of-bins" target="_blank"&gt;https://radacad.com/dynamic-banding-or-grouping-in-power-bi-using-dax-measures-choose-the-size-of-bins&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.credera.com/blog/technology-solutions/creating-aging-report-using-a-user-selected-date-in-power-bi/" target="_blank"&gt;https://www.credera.com/blog/technology-solutions/creating-aging-report-using-a-user-selected-date-in-power-bi/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2020 02:54:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Visualising-based-on-two-level-of-calculation/m-p/1353296#M24409</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-09-08T02:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: Visualising based on two level of calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Visualising-based-on-two-level-of-calculation/m-p/1353309#M24411</link>
      <description>&lt;P&gt;It is the second column of the second table "Number of location". it shows that a person is took part in how many location.&lt;BR /&gt;I hope I could describe it!&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2020 03:00:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Visualising-based-on-two-level-of-calculation/m-p/1353309#M24411</guid>
      <dc:creator>SadStatue</dc:creator>
      <dc:date>2020-09-08T03:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: Visualising based on two level of calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Visualising-based-on-two-level-of-calculation/m-p/1353325#M24412</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="174704" data-lia-user-login="SadStatue" class="lia-mention lia-mention-user"&gt;SadStatue&lt;/a&gt;&amp;nbsp;- OK, I have mocked this up, seems to work. Requires a bi-directional relationship. Still not sure if it is what you are looking for. See attached PBIX file, you want Page 38, Table (38) and Table (38a).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;@ me in your response.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2020 03:07:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Visualising-based-on-two-level-of-calculation/m-p/1353325#M24412</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-09-08T03:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: Visualising based on two level of calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Visualising-based-on-two-level-of-calculation/m-p/1353479#M24413</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;- Thanks for your work on this issue.&lt;/P&gt;&lt;P&gt;The second table (38a) is not a static table it is calculated from the fact table. so when I choose 1/1/2020 on the slicer there should be 2 person in 1 (in X axis) not 1 person in 1, and 1 in 4.&lt;BR /&gt;what I want is to calculate 38a[number of locations] based on the date range is selected in slicer. and visualize it in such a graph.&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2020 04:54:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Visualising-based-on-two-level-of-calculation/m-p/1353479#M24413</guid>
      <dc:creator>SadStatue</dc:creator>
      <dc:date>2020-09-08T04:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: Visualising based on two level of calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Visualising-based-on-two-level-of-calculation/m-p/1353487#M24414</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="174704" data-lia-user-login="SadStatue" class="lia-mention lia-mention-user"&gt;SadStatue&lt;/a&gt;&amp;nbsp;- OK, starting to get to the heart of this issue now. You, my friend, will need a disconnected table. It's the only way that I know of to do what you want to do.&amp;nbsp;In general, to use a measure in that way, you need to use the Disconnected Table Trick as this article demonstrates: &lt;A href="https://community.powerbi.com/t5/Community-Blog/Solving-Attendance-with-the-Disconnected-Table-Trick/ba-p/279563" target="_blank" rel="noopener"&gt;https://community.powerbi.com/t5/Community-Blog/Solving-Attendance-with-the-Disconnected-Table-Trick/ba-p/279563&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Basically, you need a disconnected table to be your axis and then your measure forms the relationship between the disconnected tables. It's a bit of a mind bender to wrap your head around the first time but once you get it, it will be second nature...famous last words.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2020 05:00:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Visualising-based-on-two-level-of-calculation/m-p/1353487#M24414</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-09-08T05:00:28Z</dc:date>
    </item>
  </channel>
</rss>

