<?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 how to get quarter name from Quarter offset in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-quarter-name-from-Quarter-offset/m-p/3650850#M141430</link>
    <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;Need some details from your end... when we try to add Quarter offset -1 then the quarters will show (Oct, Nov, Dec). so i need heading name will apper Q4, same way when we try to add -2 then heading name will show Q3 like that i want all 4 quarter names .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly check and share the measure how we can make this. waiting for your response&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
    <pubDate>Mon, 22 Jan 2024 06:40:34 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-01-22T06:40:34Z</dc:date>
    <item>
      <title>how to get quarter name from Quarter offset</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-quarter-name-from-Quarter-offset/m-p/3650850#M141430</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;Need some details from your end... when we try to add Quarter offset -1 then the quarters will show (Oct, Nov, Dec). so i need heading name will apper Q4, same way when we try to add -2 then heading name will show Q3 like that i want all 4 quarter names .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly check and share the measure how we can make this. waiting for your response&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 06:40:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-quarter-name-from-Quarter-offset/m-p/3650850#M141430</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-01-22T06:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: how to get quarter name from Quarter offset</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-quarter-name-from-Quarter-offset/m-p/3650928#M141434</link>
      <description>&lt;P&gt;Sorry I did not understand your question.&lt;/P&gt;&lt;P&gt;You can get Quarter using QUARTER and FORMAT functions&amp;nbsp;&lt;SPAN&gt;"Q"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN&gt;FORMAT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Date'&lt;/SPAN&gt;&lt;SPAN&gt;[Date]&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"q"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;If you are looking for something else, See if this post helps&lt;/P&gt;&lt;P&gt;&lt;A href="https://forum.enterprisedna.co/t/dax-for-adding-offset-columns-days-weeks-months-quarters-and-years/13665" target="_blank"&gt;DAX for adding offset columns - days, weeks, months, quarters and years - DAX / DAX Calculations - Enterprise DNA Forum&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 07:10:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-quarter-name-from-Quarter-offset/m-p/3650928#M141434</guid>
      <dc:creator>talespin</dc:creator>
      <dc:date>2024-01-22T07:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: how to get quarter name from Quarter offset</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-quarter-name-from-Quarter-offset/m-p/3651132#M141443</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="678168" data-lia-user-login="talespin" class="lia-mention lia-mention-user"&gt;talespin&lt;/a&gt;&amp;nbsp;;-&lt;/P&gt;&lt;P&gt;Actually what iam looking for is below&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;if you see the above Quarter 4 2023 , Quarter 3 2023 those should be automatically need to change as like&amp;nbsp; "Quarter 1: 2024 , Quarter 2: 2024, Quarter&amp;nbsp; 3: 2024, Quarter 4: 2024". when we selected quarter offset,&amp;nbsp; based on this if&amp;nbsp;&lt;SPAN&gt;we select quarter -1 (oct nov dec) then Q4, Quarter -2 (July aug sep) then Q3 , Quarter -3 (Apr may jun) then Q2, Quarter -4(jan, feb , mar) then Q4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Like wise if we use&amp;nbsp; Quarter offset 0 ( current quarter need come that is (jan 2024, feb 2024 mar 2024 ) then Q1&amp;nbsp; 2024.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly check and do the needful&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2024 09:35:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-quarter-name-from-Quarter-offset/m-p/3651132#M141443</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-01-23T09:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: how to get quarter name from Quarter offset</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-quarter-name-from-Quarter-offset/m-p/3656565#M141663</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can you some one check and let us know update on the above&amp;nbsp; needed an dax&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2024 10:43:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-quarter-name-from-Quarter-offset/m-p/3656565#M141663</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-01-24T10:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: how to get quarter name from Quarter offset</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-quarter-name-from-Quarter-offset/m-p/3667868#M142214</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Here some steps that I want to share, you can check them if they suitable for your requirement.&lt;/P&gt;
&lt;P&gt;Here is my test data:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Create a measure&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Quarter Name from Offset = 
VAR CurrentQuarterNumber = QUARTER(TODAY())
VAR AdjustedQuarterNumber = MOD((CurrentQuarterNumber + SELECTEDVALUE('Table'[QuarterOffset]) - 1),4) + 1
RETURN 
    SWITCH(
        AdjustedQuarterNumber,
        1, "Q1",
        2, "Q2",
        3, "Q3",
        4, "Q4"
    )&lt;/LI-CODE&gt;
&lt;P&gt;Final output&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: SegoeUI; font-size: 11.25pt; color: black;"&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: SegoeUI; font-size: 11.25pt; color: black;"&gt;&lt;SPAN&gt;Albert He&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: SegoeUI; font-size: 11.25pt; color: black;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: SegoeUI; font-size: 11.25pt; color: black;"&gt;&lt;SPAN&gt;If this &lt;EM&gt;&lt;STRONG&gt;post&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;helps&lt;/SPAN&gt;&lt;SPAN&gt;, then please consider&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;to help the other members find it more quickly&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2024 09:15:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-quarter-name-from-Quarter-offset/m-p/3667868#M142214</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-01-30T09:15:12Z</dc:date>
    </item>
  </channel>
</rss>

