<?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 create table for first 3 month then Qtr 1, second 3 month Qtr 2 for in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-table-for-first-3-month-then-Qtr-1-second-3-month/m-p/2240051#M53585</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="320137" data-lia-user-login="shri0025" class="lia-mention lia-mention-user"&gt;shri0025&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you sure this is what your data looks like when it is imported into PowerBi?&lt;/P&gt;&lt;P&gt;In that case you can go to PowerQuery and add an index column:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Then go back to the report and select the column Month Name --&amp;gt; Sort by column: Index&lt;/P&gt;&lt;P&gt;Put Month Name and Total Sales in the Column chart and sort by Month:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;If I answered your question, please mark it as a solution to help other members find it more quickly.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Dec 2021 10:34:14 GMT</pubDate>
    <dc:creator>jppv20</dc:creator>
    <dc:date>2021-12-15T10:34:14Z</dc:date>
    <item>
      <title>How to create table for first 3 month then Qtr 1, second 3 month Qtr 2 for</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-table-for-first-3-month-then-Qtr-1-second-3-month/m-p/2239718#M53572</link>
      <description>&lt;P&gt;Hi Hello,&lt;/P&gt;&lt;P&gt;I have category and date. i need to create month wise sales like&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;:-&amp;nbsp; &amp;nbsp;Apr, May,June Then Qtr 1, July, Aug, Sep, Than Qtr 2&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Jan,Feb,March month then Qtr 4&lt;/P&gt;&lt;P&gt;&amp;nbsp;Visul show in Stacked&amp;nbsp; Column or Clustered&amp;nbsp; Please help if possible.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Dec 2021 07:59:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-table-for-first-3-month-then-Qtr-1-second-3-month/m-p/2239718#M53572</guid>
      <dc:creator>shri0025</dc:creator>
      <dc:date>2021-12-15T07:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to create table for first 3 month then Qtr 1, second 3 month Qtr 2 for</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-table-for-first-3-month-then-Qtr-1-second-3-month/m-p/2239768#M53573</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="320137" data-lia-user-login="shri0025" class="lia-mention lia-mention-user"&gt;shri0025&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What does your input data look like?&lt;/P&gt;&lt;P&gt;And what is the expected result?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Dec 2021 08:16:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-table-for-first-3-month-then-Qtr-1-second-3-month/m-p/2239768#M53573</guid>
      <dc:creator>jppv20</dc:creator>
      <dc:date>2021-12-15T08:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to create table for first 3 month then Qtr 1, second 3 month Qtr 2 for</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-table-for-first-3-month-then-Qtr-1-second-3-month/m-p/2239833#M53575</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Look Like Bellow&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Dec 2021 08:45:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-table-for-first-3-month-then-Qtr-1-second-3-month/m-p/2239833#M53575</guid>
      <dc:creator>shri0025</dc:creator>
      <dc:date>2021-12-15T08:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to create table for first 3 month then Qtr 1, second 3 month Qtr 2 for</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-table-for-first-3-month-then-Qtr-1-second-3-month/m-p/2239877#M53577</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="320137" data-lia-user-login="shri0025" class="lia-mention lia-mention-user"&gt;shri0025&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So you want to show in one visual the data for each month as well as the total for each quarter?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Dec 2021 09:07:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-table-for-first-3-month-then-Qtr-1-second-3-month/m-p/2239877#M53577</guid>
      <dc:creator>jppv20</dc:creator>
      <dc:date>2021-12-15T09:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to create table for first 3 month then Qtr 1, second 3 month Qtr 2 for</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-table-for-first-3-month-then-Qtr-1-second-3-month/m-p/2239906#M53578</link>
      <description>&lt;P&gt;Yes&lt;/P&gt;</description>
      <pubDate>Wed, 15 Dec 2021 09:18:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-table-for-first-3-month-then-Qtr-1-second-3-month/m-p/2239906#M53578</guid>
      <dc:creator>shri0025</dc:creator>
      <dc:date>2021-12-15T09:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to create table for first 3 month then Qtr 1, second 3 month Qtr 2 for</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-table-for-first-3-month-then-Qtr-1-second-3-month/m-p/2239912#M53579</link>
      <description>&lt;P&gt;Can you share an example of your input data please?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Dec 2021 09:24:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-table-for-first-3-month-then-Qtr-1-second-3-month/m-p/2239912#M53579</guid>
      <dc:creator>jppv20</dc:creator>
      <dc:date>2021-12-15T09:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to create table for first 3 month then Qtr 1, second 3 month Qtr 2 for</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-table-for-first-3-month-then-Qtr-1-second-3-month/m-p/2239986#M53581</link>
      <description>&lt;P&gt;Hi Please find input data show to Visual bar Chart&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;Month Name&lt;/TD&gt;&lt;TD&gt;Total Sales&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Apr-19&lt;/TD&gt;&lt;TD&gt;263417035&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;May-19&lt;/TD&gt;&lt;TD&gt;317719685&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Jun-19&lt;/TD&gt;&lt;TD&gt;329506493&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Q1&lt;/TD&gt;&lt;TD&gt;910643213&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Jul-19&lt;/TD&gt;&lt;TD&gt;286064978&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Aug-19&lt;/TD&gt;&lt;TD&gt;350989685&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Sep-19&lt;/TD&gt;&lt;TD&gt;417868113&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Q2&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;1054922777&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Wed, 15 Dec 2021 10:00:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-table-for-first-3-month-then-Qtr-1-second-3-month/m-p/2239986#M53581</guid>
      <dc:creator>shri0025</dc:creator>
      <dc:date>2021-12-15T10:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to create table for first 3 month then Qtr 1, second 3 month Qtr 2 for</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-table-for-first-3-month-then-Qtr-1-second-3-month/m-p/2239989#M53582</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Dec 2021 10:03:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-table-for-first-3-month-then-Qtr-1-second-3-month/m-p/2239989#M53582</guid>
      <dc:creator>shri0025</dc:creator>
      <dc:date>2021-12-15T10:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to create table for first 3 month then Qtr 1, second 3 month Qtr 2 for</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-table-for-first-3-month-then-Qtr-1-second-3-month/m-p/2240051#M53585</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="320137" data-lia-user-login="shri0025" class="lia-mention lia-mention-user"&gt;shri0025&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you sure this is what your data looks like when it is imported into PowerBi?&lt;/P&gt;&lt;P&gt;In that case you can go to PowerQuery and add an index column:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Then go back to the report and select the column Month Name --&amp;gt; Sort by column: Index&lt;/P&gt;&lt;P&gt;Put Month Name and Total Sales in the Column chart and sort by Month:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;If I answered your question, please mark it as a solution to help other members find it more quickly.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Dec 2021 10:34:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-table-for-first-3-month-then-Qtr-1-second-3-month/m-p/2240051#M53585</guid>
      <dc:creator>jppv20</dc:creator>
      <dc:date>2021-12-15T10:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to create table for first 3 month then Qtr 1, second 3 month Qtr 2 for</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-table-for-first-3-month-then-Qtr-1-second-3-month/m-p/2240088#M53587</link>
      <description>&lt;P&gt;Hi Thanks For Help&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had mentioned Q1,Q2 only for reference. Otherwise My data only has month wise sales.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to add QTR bar as well after 3 months in the BAR CHART.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Dec 2021 10:50:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-table-for-first-3-month-then-Qtr-1-second-3-month/m-p/2240088#M53587</guid>
      <dc:creator>shri0025</dc:creator>
      <dc:date>2021-12-15T10:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to create table for first 3 month then Qtr 1, second 3 month Qtr 2 for</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-table-for-first-3-month-then-Qtr-1-second-3-month/m-p/2240144#M53592</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="320137" data-lia-user-login="shri0025" class="lia-mention lia-mention-user"&gt;shri0025&lt;/a&gt;&amp;nbsp;In that case, can you please share the data how you import it in PowerBi?&lt;/P&gt;&lt;P&gt;Is it like this?&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Month Name&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Total Sales&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Apr-19&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;263417035&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;May-19&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;317719685&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Jun-19&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;329506493&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Jul-19&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;286064978&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Aug-19&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;350989685&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Sep-19&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;417868113&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Dec 2021 11:27:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-table-for-first-3-month-then-Qtr-1-second-3-month/m-p/2240144#M53592</guid>
      <dc:creator>jppv20</dc:creator>
      <dc:date>2021-12-15T11:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to create table for first 3 month then Qtr 1, second 3 month Qtr 2 for</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-table-for-first-3-month-then-Qtr-1-second-3-month/m-p/2240195#M53595</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes Look like the Same&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Dec 2021 11:52:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-table-for-first-3-month-then-Qtr-1-second-3-month/m-p/2240195#M53595</guid>
      <dc:creator>shri0025</dc:creator>
      <dc:date>2021-12-15T11:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to create table for first 3 month then Qtr 1, second 3 month Qtr 2 for</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-table-for-first-3-month-then-Qtr-1-second-3-month/m-p/2240332#M53604</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="320137" data-lia-user-login="shri0025" class="lia-mention lia-mention-user"&gt;shri0025&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not sure if this is the easiest solution, but it worked for me:&lt;/P&gt;&lt;P&gt;Go to the Query Editor and add a column for the Qtr:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Duplicate the table twice, in one table you keep only the Month Name column and in the other the Qtr Column:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Remove the duplicates in the Qtr column and change the name to Month Name&lt;/P&gt;&lt;P&gt;Then append the last table to the second table and add an index column:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Close &amp;amp; apply and go to relationships. Create two relationships between the tables:&lt;BR /&gt;Table - Month Name to Table (2) - Month Name and Table - Qtr to Table (2) - Month Name&amp;nbsp; (inactive).&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then create this measure:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Measure = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;Sales&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Table'[Total Sales]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;return&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;ISBLANK&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Sales&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Table'[Total Sales]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;USERELATIONSHIP&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Table'[Qtr]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;'Table (2)'[Month Name]&lt;/SPAN&gt;&lt;SPAN&gt;)),&lt;/SPAN&gt;&lt;SPAN&gt;Sales&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Put the measure and Month Name column from table 2 in the visual to get this result:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;If I answered your question, please mark it as a solution to help other members find it more quickly.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Dec 2021 13:32:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-table-for-first-3-month-then-Qtr-1-second-3-month/m-p/2240332#M53604</guid>
      <dc:creator>jppv20</dc:creator>
      <dc:date>2021-12-15T13:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to create table for first 3 month then Qtr 1, second 3 month Qtr 2 for</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-table-for-first-3-month-then-Qtr-1-second-3-month/m-p/2246896#M53958</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="320137" data-lia-user-login="shri0025" class="lia-mention lia-mention-user"&gt;shri0025&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to sort strictly by "month-quarter- month-quarter", you can try the following.&lt;BR /&gt;1. Create a new table and add Index column.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt; Table.FromRecords({
        [Name = "Apr-19", MonthNum = 4],
        [Name = "May-19", MonthNum = 5],
        [Name = "Jun-19", MonthNum = 6],
        [Name = "Q1", MonthNum = null],
        [Name = "Jul-19", MonthNum = 7],
        [Name = "Aug-19", MonthNum = 8],
        [Name = "Sep-19", MonthNum = 9],
        [Name = "Q2", MonthNum = null],
        [Name = "Oct-19", MonthNum = 10],
        [Name = "Nov-19", MonthNum = 11],
        [Name = "Dec-19", MonthNum = 12],
        [Name = "Q3", MonthNum = null],
        [Name = "Jan-19", MonthNum = 1],
        [Name = "Feb-19", MonthNum = 2],
        [Name = "Mar-19", MonthNum = 3],
        [Name = "Q4", MonthNum = null]
    })&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Create the following measures.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;sales = 
CALCULATE( 
    SUM('Table'[Total Sales]),
    FILTER(
        'Table',
        'Table'[Month Name] = MAX(AxisTable[Name]) 
    )
)&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Measure = 
var QNo = VALUE( RIGHT( MAX(AxisTable[Name]), 1 ) )
var Q_M = If( QNo * 3 + 1 &amp;lt; 12, QNo * 3 + 1, 1 )
var Q_Sales = 
    CALCULATE( 
        SUMX(
            ALLSELECTED(AxisTable[Name]),
            [sales]
        ),
        FILTER(
            ALL(AxisTable),
            AxisTable[MonthNum] in { Q_M, Q_M+1, Q_M+2 }
        )
    )
return 
    IF(
        left( MAX(AxisTable[Name]), 1 ) = "Q",
        Q_Sales,
        [sales]
    )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. Sort the Name column by Index column and sort the bar chart by Name column in ascending order.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Winniz&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 06:54:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-table-for-first-3-month-then-Qtr-1-second-3-month/m-p/2246896#M53958</guid>
      <dc:creator>v-kkf-msft</dc:creator>
      <dc:date>2021-12-20T06:54:08Z</dc:date>
    </item>
  </channel>
</rss>

