<?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 Date/Time field - Display format in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Date-Time-field-Display-format/m-p/2589640#M36836</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a date/time field in my report.&amp;nbsp; &amp;nbsp;Depending on the visual and the user, I sometimes need to show only the date and sometimes the date and time.&amp;nbsp; Is there a way of changing the format of a date/time field in a specific visual or if I have to have 2 separate fields available in the report (one with date and time and the other with just the date)?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 20 Jun 2022 12:52:53 GMT</pubDate>
    <dc:creator>huguestremblay</dc:creator>
    <dc:date>2022-06-20T12:52:53Z</dc:date>
    <item>
      <title>Date/Time field - Display format</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Date-Time-field-Display-format/m-p/2589640#M36836</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a date/time field in my report.&amp;nbsp; &amp;nbsp;Depending on the visual and the user, I sometimes need to show only the date and sometimes the date and time.&amp;nbsp; Is there a way of changing the format of a date/time field in a specific visual or if I have to have 2 separate fields available in the report (one with date and time and the other with just the date)?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2022 12:52:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Date-Time-field-Display-format/m-p/2589640#M36836</guid>
      <dc:creator>huguestremblay</dc:creator>
      <dc:date>2022-06-20T12:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: Date/Time field - Display format</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Date-Time-field-Display-format/m-p/2596099#M36913</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/243879"&gt;@huguestremblay&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As far as I know, we can use format function to create measure/calculated column to format your date/time column. I think we always add date/time column into visual as a key column to expand the visual like Axis field. Due to Power BI doesn't support us to add measures into Axis field, measure is not suitable for us.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However format function will not convert the data in data model. So thought we format a date/time data to date only, it will still work like date/time format in data model.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So I suggest you to create a new calcualted column by &lt;A href="https://docs.microsoft.com/en-us/dax/datevalue-function-dax" target="_self"&gt;DATEVALUE()&lt;/A&gt; function to convert date/time value to date only value. So you can choose the column to create your visuals by the date format you want.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RicoZhou_0-1655949039937.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/736809iACCAB711BCCAD315/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RicoZhou_0-1655949039937.png" alt="RicoZhou_0-1655949039937.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Result is as below.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RicoZhou_1-1655949065386.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/736810iC9A7579E075EC259/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RicoZhou_1-1655949065386.png" alt="RicoZhou_1-1655949065386.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Rico Zhou&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2022 01:51:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Date-Time-field-Display-format/m-p/2596099#M36913</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-06-23T01:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: Date/Time field - Display format</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Date-Time-field-Display-format/m-p/2597432#M36923</link>
      <description>&lt;P&gt;Hello Rico,&lt;/P&gt;&lt;P&gt;Thank you for your answer.&amp;nbsp; I am aware that I can create multiple fileds with different date/time formats in my dataset but what I am looking for is a method that dosen't require an additional field for each date format that a user might want (e.g. date/time or mm/dd/yyyy or dd-MMM-yyyy, or other).&lt;/P&gt;&lt;P&gt;Hugues.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2022 10:43:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Date-Time-field-Display-format/m-p/2597432#M36923</guid>
      <dc:creator>huguestremblay</dc:creator>
      <dc:date>2022-06-23T10:43:49Z</dc:date>
    </item>
  </channel>
</rss>

