<?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: Converting Date and Time to Financial Year and Quarter/Month (Australian Date) in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Converting-Date-and-Time-to-Financial-Year-and-Quarter-Month/m-p/2565145#M73061</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;, would it be possible to show some example code? I'm under the understanding that you'd use if (&amp;lt;condition&amp;gt;, [table]FY,(I'd normally put Blank() here however that would result in 'blank' appearing on output visualisation/table))&lt;BR /&gt;&lt;BR /&gt;So still a little confused on how to not show blanks or the 1899's in the output value.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Jun 2022 00:09:59 GMT</pubDate>
    <dc:creator>shakir99</dc:creator>
    <dc:date>2022-06-08T00:09:59Z</dc:date>
    <item>
      <title>Converting Date and Time to Financial Year and Quarter/Month (Australian Date)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Converting-Date-and-Time-to-Financial-Year-and-Quarter-Month/m-p/2548837#M72069</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I currently have a column (StartDate) that has values in the following format:&lt;/P&gt;&lt;P&gt;DD/MM/YYYY HH:MM:SS AM/PM&lt;BR /&gt;E.g. 14/08/2022 2:00:00 PM&lt;BR /&gt;&lt;BR /&gt;I was hoping to accomplish conversions through DAX commands but wasn't really sure how to approach it,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;New Column 1 (Month &amp;amp; Financial Year)&amp;nbsp;&lt;/P&gt;&lt;P&gt;14/08/2022 2:00:00 PM --&amp;gt; Aug FY22&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;New Column 2 (Quarter and Financial Year)&lt;BR /&gt;14/08/2022 2:00:00 PM --&amp;gt; Q1 FY22&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help or guidance would be appreciated!&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2022 02:54:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Converting-Date-and-Time-to-Financial-Year-and-Quarter-Month/m-p/2548837#M72069</guid>
      <dc:creator>shakir99</dc:creator>
      <dc:date>2022-05-31T02:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: Converting Date and Time to Financial Year and Quarter/Month (Australian Date)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Converting-Date-and-Time-to-Financial-Year-and-Quarter-Month/m-p/2549017#M72076</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="395646" data-lia-user-login="shakir99" class="lia-mention lia-mention-user"&gt;shakir99&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;For new column 1 you can use below to queries and create calculated column,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;FY = IF(MONTH('Time'[Date])&amp;gt;=7,YEAR('Time'[Date]),YEAR('Time'[Date])-1)&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Month FY = FORMAT('Time'[Date],"MMM") &amp;amp;" "&amp;amp;"FY"&amp;amp; RIGHT('Time'[FY],2)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for new column 2 you can refer the below thread,&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Desktop/Convert-UTC-to-client-time-zones/m-p/56337" target="_self"&gt;https://community.powerbi.com/t5/Desktop/Convert-UTC-to-client-time-zones/m-p/56337&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Arul&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2022 05:22:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Converting-Date-and-Time-to-Financial-Year-and-Quarter-Month/m-p/2549017#M72076</guid>
      <dc:creator>Arul</dc:creator>
      <dc:date>2022-05-31T05:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: Converting Date and Time to Financial Year and Quarter/Month (Australian Date)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Converting-Date-and-Time-to-Financial-Year-and-Quarter-Month/m-p/2552250#M72264</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="107764" data-lia-user-login="Arul" class="lia-mention lia-mention-user"&gt;Arul&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Thanks for your answer.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;This solution, "FY = IF(MONTH('Time....."&lt;/P&gt;&lt;P&gt;Works fine however shows blank values in&amp;nbsp;'Time'[Date] as 1899. Is there a way to instead have that value as "Blank"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding the next solution, "Month FY = FORMAT...."&lt;/P&gt;&lt;P&gt;This is working fine as well but is showing that FY99 value because of the 1899 value in the FY column.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Again thank you for the solutions however how'd I replace the 1899 with blank instead, and also have that be the case for the second column&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2022 02:13:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Converting-Date-and-Time-to-Financial-Year-and-Quarter-Month/m-p/2552250#M72264</guid>
      <dc:creator>shakir99</dc:creator>
      <dc:date>2022-06-02T02:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: Converting Date and Time to Financial Year and Quarter/Month (Australian Date)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Converting-Date-and-Time-to-Financial-Year-and-Quarter-Month/m-p/2562948#M72958</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="395646" data-lia-user-login="shakir99" class="lia-mention lia-mention-user"&gt;shakir99&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;In fact, 12/31/1899 should be the default value of date fields, they will be displayed if the value does not include the date part or stored the blank values.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;You can add an if statement condition to check if the current date field value is blank or less than particular values to prevent the calculation of wrong date ranges.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 06:50:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Converting-Date-and-Time-to-Financial-Year-and-Quarter-Month/m-p/2562948#M72958</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-06-07T06:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: Converting Date and Time to Financial Year and Quarter/Month (Australian Date)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Converting-Date-and-Time-to-Financial-Year-and-Quarter-Month/m-p/2565145#M73061</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;, would it be possible to show some example code? I'm under the understanding that you'd use if (&amp;lt;condition&amp;gt;, [table]FY,(I'd normally put Blank() here however that would result in 'blank' appearing on output visualisation/table))&lt;BR /&gt;&lt;BR /&gt;So still a little confused on how to not show blanks or the 1899's in the output value.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 00:09:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Converting-Date-and-Time-to-Financial-Year-and-Quarter-Month/m-p/2565145#M73061</guid>
      <dc:creator>shakir99</dc:creator>
      <dc:date>2022-06-08T00:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: Converting Date and Time to Financial Year and Quarter/Month (Australian Date)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Converting-Date-and-Time-to-Financial-Year-and-Quarter-Month/m-p/2611597#M75769</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="395646" data-lia-user-login="shakir99" class="lia-mention lia-mention-user"&gt;shakir99&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Can you please share some dummy data that keep the raw data structure? It should help us clarify your scenario and test to coding formula.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="http://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;How to Get Your Question Answered Quickly&amp;nbsp;&lt;/A&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 09:07:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Converting-Date-and-Time-to-Financial-Year-and-Quarter-Month/m-p/2611597#M75769</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-06-30T09:07:37Z</dc:date>
    </item>
  </channel>
</rss>

