<?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: How to Toggle Between Time Periods (Day, Week, Month, Quarter, Year) in Power BI Without Using Drill in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-Toggle-Between-Time-Periods-Day-Week-Month-Quarter-Year/m-p/4246831#M168131</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="453150" data-lia-user-login="batman" class="lia-mention lia-mention-user"&gt;batman&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I assume you already have date table, based on that you can create the below measure that dynamically switches between the periods depending on the selected field parameter&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Selected Period Value =&lt;BR /&gt;SWITCH(TRUE(),&lt;BR /&gt;SELECTEDVALUE('Period'[Period]) = "Day", MAX('Date'[Date]),&lt;BR /&gt;SELECTEDVALUE('Period'[Period]) = "Week", MAX('Date'[Week]),&lt;BR /&gt;SELECTEDVALUE('Period'[Period]) = "Month", MAX('Date'[Month]),&lt;BR /&gt;SELECTEDVALUE('Period'[Period]) = "Quarter", MAX('Date'[Quarter]),&lt;BR /&gt;SELECTEDVALUE('Period'[Period]) = "Year", MAX('Date'[Year]))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.Add the Period slicer to your report page using the field parameter you created.&lt;/P&gt;&lt;P&gt;2.In the Line Chart, use the dynamic period value measure as the axis.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;U&gt;&lt;STRONG&gt;If you find this helpful , please mark it as solution which will be helpful for others and Your Kudos/Likes &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt; are much appreciated!&lt;/STRONG&gt;&lt;/U&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;P&gt;Dharmendar S&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.linkedin.com/in/dharmendar-s-b5b43463/" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;LinkedIN&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 17 Oct 2024 15:25:50 GMT</pubDate>
    <dc:creator>dharmendars007</dc:creator>
    <dc:date>2024-10-17T15:25:50Z</dc:date>
    <item>
      <title>How to Toggle Between Time Periods (Day, Week, Month, Quarter, Year) in Power BI Without Using Drill</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-Toggle-Between-Time-Periods-Day-Week-Month-Quarter-Year/m-p/4246569#M168123</link>
      <description>&lt;P&gt;I need help with filtering by Day, Week, Month, Quarter, and Year.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created a field parameter called "Period" and attempted to build a line chart using Year and this parameter. However, when users select a date range longer than a year, I don't want the weeks to overlap. Currently, every time I switch between Month and Quarter, I have to use the drill down feature on the chart. Is there a way to achieve this without having to drill down, or is there a simpler solution?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 12:53:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-Toggle-Between-Time-Periods-Day-Week-Month-Quarter-Year/m-p/4246569#M168123</guid>
      <dc:creator>batman</dc:creator>
      <dc:date>2024-10-17T12:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to Toggle Between Time Periods (Day, Week, Month, Quarter, Year) in Power BI Without Using Drill</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-Toggle-Between-Time-Periods-Day-Week-Month-Quarter-Year/m-p/4246831#M168131</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="453150" data-lia-user-login="batman" class="lia-mention lia-mention-user"&gt;batman&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I assume you already have date table, based on that you can create the below measure that dynamically switches between the periods depending on the selected field parameter&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Selected Period Value =&lt;BR /&gt;SWITCH(TRUE(),&lt;BR /&gt;SELECTEDVALUE('Period'[Period]) = "Day", MAX('Date'[Date]),&lt;BR /&gt;SELECTEDVALUE('Period'[Period]) = "Week", MAX('Date'[Week]),&lt;BR /&gt;SELECTEDVALUE('Period'[Period]) = "Month", MAX('Date'[Month]),&lt;BR /&gt;SELECTEDVALUE('Period'[Period]) = "Quarter", MAX('Date'[Quarter]),&lt;BR /&gt;SELECTEDVALUE('Period'[Period]) = "Year", MAX('Date'[Year]))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.Add the Period slicer to your report page using the field parameter you created.&lt;/P&gt;&lt;P&gt;2.In the Line Chart, use the dynamic period value measure as the axis.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;U&gt;&lt;STRONG&gt;If you find this helpful , please mark it as solution which will be helpful for others and Your Kudos/Likes &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt; are much appreciated!&lt;/STRONG&gt;&lt;/U&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;P&gt;Dharmendar S&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.linkedin.com/in/dharmendar-s-b5b43463/" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;LinkedIN&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 15:25:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-Toggle-Between-Time-Periods-Day-Week-Month-Quarter-Year/m-p/4246831#M168131</guid>
      <dc:creator>dharmendars007</dc:creator>
      <dc:date>2024-10-17T15:25:50Z</dc:date>
    </item>
  </channel>
</rss>

