<?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: Split Month into Biweekly but Still Remain in Date Format in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Split-Month-into-Biweekly-but-Still-Remain-in-Date-Format/m-p/2723832#M83186</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;You should be able to create a column that flags the period and then just use that in your Legend. Should end up with 2 columns for each month.&lt;/P&gt;</description>
    <pubDate>Wed, 24 Aug 2022 15:46:52 GMT</pubDate>
    <dc:creator>Greg_Deckler</dc:creator>
    <dc:date>2022-08-24T15:46:52Z</dc:date>
    <item>
      <title>Split Month into Biweekly but Still Remain in Date Format</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Split-Month-into-Biweekly-but-Still-Remain-in-Date-Format/m-p/2723795#M83179</link>
      <description>&lt;P&gt;Help please!!!&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a Date column but I want to split the month into bi weekly with DAX(column or measure, not sure the best) but still remain as a date format. Example of what I want to achieve is attached. Thanks.&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2022 15:30:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Split-Month-into-Biweekly-but-Still-Remain-in-Date-Format/m-p/2723795#M83179</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-24T15:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: Split Month into Biweekly but Still Remain in Date Format</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Split-Month-into-Biweekly-but-Still-Remain-in-Date-Format/m-p/2723832#M83186</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;You should be able to create a column that flags the period and then just use that in your Legend. Should end up with 2 columns for each month.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2022 15:46:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Split-Month-into-Biweekly-but-Still-Remain-in-Date-Format/m-p/2723832#M83186</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2022-08-24T15:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: Split Month into Biweekly but Still Remain in Date Format</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Split-Month-into-Biweekly-but-Still-Remain-in-Date-Format/m-p/2723913#M83193</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp;, I am still new to Power BI, if you can help with the DAX that can achieve that. Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2022 16:30:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Split-Month-into-Biweekly-but-Still-Remain-in-Date-Format/m-p/2723913#M83193</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-24T16:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: Split Month into Biweekly but Still Remain in Date Format</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Split-Month-into-Biweekly-but-Still-Remain-in-Date-Format/m-p/2726160#M83347</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;Well, I don't know your data so not sure how you segment your months. If all you have is a Date column then perhaps something along the lines of:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Column =
  VAR __Date = [Date]
  VAR __StartOfMonth = DATE(YEAR(__Date), MONTH(__Date), 1)
  VAR __StartWeek = WEEKNUM(__StartOfMonth)
  VAR __CurrentWeek = WEEKNUM(__Date)
RETURN
  IF( (__CurrentWeek - __StartWeek) &amp;gt; 2,"Period 2", "Period 1")&lt;/LI-CODE&gt;
&lt;P&gt;Otherwise,&amp;nbsp;Sorry, having trouble following, can you post sample data as text and expected output?&lt;BR /&gt;Not really enough information to go on, please first check if your issue is a common issue listed here: &lt;A href="https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also, please see this post regarding How to Get Your Question Answered Quickly: &lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The most important parts are:&lt;BR /&gt;1. Sample data as text, use the table tool in the editing bar&lt;BR /&gt;2. Expected output from sample data&lt;BR /&gt;3. Explanation in words of how to get from 1. to 2.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2022 13:11:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Split-Month-into-Biweekly-but-Still-Remain-in-Date-Format/m-p/2726160#M83347</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2022-08-25T13:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: Split Month into Biweekly but Still Remain in Date Format</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Split-Month-into-Biweekly-but-Still-Remain-in-Date-Format/m-p/2732178#M83685</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As&amp;nbsp; &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp;&amp;nbsp;said, please try following DAX to create new columns:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Column 1 = 
VAR __Date = [Date]
VAR __StartOfMonth = DATE(YEAR(__Date), MONTH(__Date), 1)
VAR __StartWeek = WEEKNUM(__StartOfMonth)
VAR __CurrentWeek = WEEKNUM(__Date)
RETURN
IF( (__CurrentWeek - __StartWeek) &amp;gt; 2,"P2", "P1")

Column 2 = FORMAT([Date],"mmm")
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please create a clustered column chart like below, you can split Month into Biweekly but Still Remain in Date Format:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I misunderstand your demands, please provide some data screenshots (remember to hide sensitive information) to help us better solve your problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Yadong Fang&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 09:44:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Split-Month-into-Biweekly-but-Still-Remain-in-Date-Format/m-p/2732178#M83685</guid>
      <dc:creator>v-yadongf-msft</dc:creator>
      <dc:date>2022-08-29T09:44:58Z</dc:date>
    </item>
  </channel>
</rss>

