<?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 TO display Last 2 days, Last 4 Days, Last 7 days and Last 30 Days in SWITCH DAX in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TO-display-Last-2-days-Last-4-Days-Last-7-days-and-Last-30-Days/m-p/3138319#M111938</link>
    <description>&lt;P&gt;I need to keep&amp;nbsp;Last 2 days, Last 4 Days, Last 7 days and Last 30 Days in SWITCH DAX which acts as slicer in power BI.&lt;/P&gt;&lt;P&gt;How do I achieve this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Mar 2023 09:19:46 GMT</pubDate>
    <dc:creator>asdf1608</dc:creator>
    <dc:date>2023-03-17T09:19:46Z</dc:date>
    <item>
      <title>TO display Last 2 days, Last 4 Days, Last 7 days and Last 30 Days in SWITCH DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TO-display-Last-2-days-Last-4-Days-Last-7-days-and-Last-30-Days/m-p/3138319#M111938</link>
      <description>&lt;P&gt;I need to keep&amp;nbsp;Last 2 days, Last 4 Days, Last 7 days and Last 30 Days in SWITCH DAX which acts as slicer in power BI.&lt;/P&gt;&lt;P&gt;How do I achieve this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 09:19:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TO-display-Last-2-days-Last-4-Days-Last-7-days-and-Last-30-Days/m-p/3138319#M111938</guid>
      <dc:creator>asdf1608</dc:creator>
      <dc:date>2023-03-17T09:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: TO display Last 2 days, Last 4 Days, Last 7 days and Last 30 Days in SWITCH DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TO-display-Last-2-days-Last-4-Days-Last-7-days-and-Last-30-Days/m-p/3138336#M111941</link>
      <description>&lt;P&gt;Could You Elaborate more.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 09:25:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TO-display-Last-2-days-Last-4-Days-Last-7-days-and-Last-30-Days/m-p/3138336#M111941</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-17T09:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: TO display Last 2 days, Last 4 Days, Last 7 days and Last 30 Days in SWITCH DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TO-display-Last-2-days-Last-4-Days-Last-7-days-and-Last-30-Days/m-p/3138387#M111945</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp; Need to create a parameter where is should show last 2 days, last 7 days etc when selected.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 09:46:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TO-display-Last-2-days-Last-4-Days-Last-7-days-and-Last-30-Days/m-p/3138387#M111945</guid>
      <dc:creator>asdf1608</dc:creator>
      <dc:date>2023-03-17T09:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: TO display Last 2 days, Last 4 Days, Last 7 days and Last 30 Days in SWITCH DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TO-display-Last-2-days-Last-4-Days-Last-7-days-and-Last-30-Days/m-p/3138426#M111949</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Can you please provide more details or sample output so that I can help you?&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 10:08:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TO-display-Last-2-days-Last-4-Days-Last-7-days-and-Last-30-Days/m-p/3138426#M111949</guid>
      <dc:creator>KeyurPatel14</dc:creator>
      <dc:date>2023-03-17T10:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: TO display Last 2 days, Last 4 Days, Last 7 days and Last 30 Days in SWITCH DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TO-display-Last-2-days-Last-4-Days-Last-7-days-and-Last-30-Days/m-p/3138543#M111960</link>
      <description>&lt;P&gt;Create table like this one, then create 4 Measures Last 2&amp;nbsp;days, 4days, 7 days and 30 days.&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 10:54:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TO-display-Last-2-days-Last-4-Days-Last-7-days-and-Last-30-Days/m-p/3138543#M111960</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-17T10:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: TO display Last 2 days, Last 4 Days, Last 7 days and Last 30 Days in SWITCH DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TO-display-Last-2-days-Last-4-Days-Last-7-days-and-Last-30-Days/m-p/3138561#M111964</link>
      <description>&lt;LI-CODE lang="markup"&gt;Result measure = 
var _select = SELECTEDVALUE('Last Days'[Days])
return
IF(
    ISFILTERED('Last Days'[Days]),
    SWITCH(
        TRUE(),
        _select="last2days",[Last2days],
        _select="last4days",[Last4days],
        _select="last7days",[Last7Days],
        _select="last30days",[Last30Days]
    ))&lt;/LI-CODE&gt;&lt;P&gt;Final Measure will be this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 10:59:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TO-display-Last-2-days-Last-4-Days-Last-7-days-and-Last-30-Days/m-p/3138561#M111964</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-17T10:59:16Z</dc:date>
    </item>
  </channel>
</rss>

