<?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: Overlapping data slicer in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Overlapping-data-slicer/m-p/1397005#M25665</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="260980" data-lia-user-login="Robert93" class="lia-mention lia-mention-user"&gt;Robert93&lt;/a&gt;&amp;nbsp;Disconnected tables are just tables with no relationship between them. I have mocked up a solution in attached PBIX below sig. You want Page 8, Table (8) and Table (8a). Basically, split your wire range out into a min and max and then implemented a Complex Selector that you use in your Filters pane.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure 8 = 
    VAR __Currentkm = MAX('Table (8)'[km location])
    VAR __Minkm = MIN('Table (8a)'[km locations min])
    VAR __Maxkm = MAX('Table (8a)'[km locations max])
RETURN
    IF(__Currentkm&amp;gt;=__Minkm &amp;amp;&amp;amp; __Currentkm &amp;lt;= __Maxkm,1,0)&lt;/LI-CODE&gt;</description>
    <pubDate>Sat, 26 Sep 2020 14:14:42 GMT</pubDate>
    <dc:creator>Greg_Deckler</dc:creator>
    <dc:date>2020-09-26T14:14:42Z</dc:date>
    <item>
      <title>Overlapping data slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Overlapping-data-slicer/m-p/1394595#M25595</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an interesting one that I am unsure how to tackle.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have several pieces of wire connecting to each other over a length, the wires overlap each other as they transition to the next wire. We measure the thicknesses of these wires.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to create a slicer that can look at each individual wire.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example,&lt;/P&gt;&lt;P&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; 2&amp;nbsp; &amp;nbsp; &amp;nbsp; 3&amp;nbsp; &amp;nbsp; &amp;nbsp; 4&amp;nbsp; &amp;nbsp; &amp;nbsp;5&amp;nbsp; &amp;nbsp; &amp;nbsp;6&amp;nbsp; &amp;nbsp; &amp;nbsp;7&amp;nbsp; &amp;nbsp; &amp;nbsp;8 km&lt;/P&gt;&lt;P&gt;------------ wire A&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;---------------- Wire B&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;--------------------- Wire C&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wire A spans from 1km to 3km&lt;/P&gt;&lt;P&gt;Wire B spans from 2km to 5km&lt;/P&gt;&lt;P&gt;Wire C spans from 4km to 8km&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where these wires overlap, is where they join one another.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to add a slicer to my visual where if someone selects the wire it shows the data in these km ranges (1 - 3, 2 - 5, 4-8).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 04:07:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Overlapping-data-slicer/m-p/1394595#M25595</guid>
      <dc:creator>Robert93</dc:creator>
      <dc:date>2020-09-25T04:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: Overlapping data slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Overlapping-data-slicer/m-p/1394596#M25596</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="260980" data-lia-user-login="Robert93" class="lia-mention lia-mention-user"&gt;Robert93&lt;/a&gt;&amp;nbsp;Sounds interesting but would need sample source data to put together a solution. Probably going to involve a disconnected table or potentially binning. Hard to say with the information provided.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please see this post regarding How to Get Your Question Answered Quickly: &lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The most important parts are:&lt;BR /&gt;1. Sample data as text, use the table tool in the editing bar&lt;BR /&gt;2. Expected output from sample data&lt;BR /&gt;3. Explanation in words of how to get from 1. to 2.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 04:20:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Overlapping-data-slicer/m-p/1394596#M25596</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-09-25T04:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: Overlapping data slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Overlapping-data-slicer/m-p/1394616#M25597</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&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;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for the quick reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sample data would be something like the following,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;km location&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;thickness (cm)&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;10&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;11&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;13&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;15&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;TD&gt;16&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;7&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;9&lt;/TD&gt;&lt;TD&gt;15&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;9&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And from the knowledge of the sections, I know that,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Wire&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;km locations&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;1 to 3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;2 to 6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;C&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;5 to 8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;D&lt;/TD&gt;&lt;TD&gt;7 to 10&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The overlapping sections of wire are where they join to one another (one gradually decreases while the other gradually increases). This is sample data where the overlaps are 1 km. Really these are smaller values but the idea is the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the first set of data plotted out over a line visual, I would like to have a slicer that has options Wire A, Wire B, Wire C, and Wire D. When selected, the km axis just shows data in that range.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;More than happy to learn the ways to make this happen. I haven't heard of either disconnected tables or binning.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 04:33:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Overlapping-data-slicer/m-p/1394616#M25597</guid>
      <dc:creator>Robert93</dc:creator>
      <dc:date>2020-09-25T04:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: Overlapping data slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Overlapping-data-slicer/m-p/1397005#M25665</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="260980" data-lia-user-login="Robert93" class="lia-mention lia-mention-user"&gt;Robert93&lt;/a&gt;&amp;nbsp;Disconnected tables are just tables with no relationship between them. I have mocked up a solution in attached PBIX below sig. You want Page 8, Table (8) and Table (8a). Basically, split your wire range out into a min and max and then implemented a Complex Selector that you use in your Filters pane.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure 8 = 
    VAR __Currentkm = MAX('Table (8)'[km location])
    VAR __Minkm = MIN('Table (8a)'[km locations min])
    VAR __Maxkm = MAX('Table (8a)'[km locations max])
RETURN
    IF(__Currentkm&amp;gt;=__Minkm &amp;amp;&amp;amp; __Currentkm &amp;lt;= __Maxkm,1,0)&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 26 Sep 2020 14:14:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Overlapping-data-slicer/m-p/1397005#M25665</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-09-26T14:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: Overlapping data slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Overlapping-data-slicer/m-p/1397140#M25669</link>
      <description>&lt;P&gt;With respect to the technique to use, you could take a look at this one, seems pretty simular:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/DAX-Commands-and-Tips/Time-Measure-Productive-hours-with-duplicates-and-overlaps/m-p/1180428#M18382" target="_blank"&gt;https://community.powerbi.com/t5/DAX-Commands-and-Tips/Time-Measure-Productive-hours-with-duplicates-and-overlaps/m-p/1180428#M18382&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Steve.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 26 Sep 2020 20:13:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Overlapping-data-slicer/m-p/1397140#M25669</guid>
      <dc:creator>stevedep</dc:creator>
      <dc:date>2020-09-26T20:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: Overlapping data slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Overlapping-data-slicer/m-p/1401027#M25784</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;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you mate! Turned out great, appreciate the help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 06:34:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Overlapping-data-slicer/m-p/1401027#M25784</guid>
      <dc:creator>Robert93</dc:creator>
      <dc:date>2020-09-29T06:34:51Z</dc:date>
    </item>
  </channel>
</rss>

