<?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 Help with Switch function needed in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Switch-function-needed/m-p/3997627#M155459</link>
    <description>&lt;P&gt;Hi, I was trying to get a visual which shows values based on delivery dates or trading dates. Between those two dates the report viewer should be able to switch via slicer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example table:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Trade_Date | Delivery_Start_Date | Value&lt;/P&gt;&lt;P&gt;01.05.2024&amp;nbsp; | 01.01.2025&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | 200&lt;/P&gt;&lt;P&gt;01.05.2024&amp;nbsp; | 01.10.2024&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | 75&lt;/P&gt;&lt;P&gt;02.05.2024&amp;nbsp; | 01.01.2025&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | -50&lt;/P&gt;&lt;P&gt;02.05.2024 | 01.10.2024&amp;nbsp; &amp;nbsp; &amp;nbsp;| -30&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a tabel called DateSwitch:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I try to use this as a measure:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But it doesnt work, as he seems to search for a single value. Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Cheers Nils&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 18 Jun 2024 06:57:40 GMT</pubDate>
    <dc:creator>Hierkommtnils</dc:creator>
    <dc:date>2024-06-18T06:57:40Z</dc:date>
    <item>
      <title>Help with Switch function needed</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Switch-function-needed/m-p/3997627#M155459</link>
      <description>&lt;P&gt;Hi, I was trying to get a visual which shows values based on delivery dates or trading dates. Between those two dates the report viewer should be able to switch via slicer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example table:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Trade_Date | Delivery_Start_Date | Value&lt;/P&gt;&lt;P&gt;01.05.2024&amp;nbsp; | 01.01.2025&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | 200&lt;/P&gt;&lt;P&gt;01.05.2024&amp;nbsp; | 01.10.2024&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | 75&lt;/P&gt;&lt;P&gt;02.05.2024&amp;nbsp; | 01.01.2025&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | -50&lt;/P&gt;&lt;P&gt;02.05.2024 | 01.10.2024&amp;nbsp; &amp;nbsp; &amp;nbsp;| -30&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a tabel called DateSwitch:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I try to use this as a measure:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But it doesnt work, as he seems to search for a single value. Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Cheers Nils&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2024 06:57:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Switch-function-needed/m-p/3997627#M155459</guid>
      <dc:creator>Hierkommtnils</dc:creator>
      <dc:date>2024-06-18T06:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Switch function needed</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Switch-function-needed/m-p/3999061#M155699</link>
      <description>&lt;P&gt;Please use Field Parameters for this.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2024 01:30:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Switch-function-needed/m-p/3999061#M155699</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-06-19T01:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Switch function needed</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Switch-function-needed/m-p/3999653#M155740</link>
      <description>&lt;P&gt;Thanks, that was the missing part!&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2024 07:30:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Switch-function-needed/m-p/3999653#M155740</guid>
      <dc:creator>Hierkommtnils</dc:creator>
      <dc:date>2024-06-19T07:30:45Z</dc:date>
    </item>
  </channel>
</rss>

