<?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: If date value is not blank return date value if date value is blank return &amp;quot;Text&amp;quot; in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/If-date-value-is-not-blank-return-date-value-if-date-value-is/m-p/3891715#M34780</link>
    <description>&lt;P&gt;read about COALESCE and FORMAT.&lt;/P&gt;</description>
    <pubDate>Sun, 05 May 2024 00:05:52 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2024-05-05T00:05:52Z</dc:date>
    <item>
      <title>If date value is not blank return date value if date value is blank return "Text"</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/If-date-value-is-not-blank-return-date-value-if-date-value-is/m-p/3889963#M34778</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need a measure for a card visual to display a date value if present however if it's blank display a custom text such as "NONE"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The date field(expectedresultdate) is a data type of "Date". The custom text if the field is blank is just "Text".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Heres what I have.&lt;/P&gt;&lt;P&gt;next update = IF(ISBLANK(SELECTEDVALUE('Annual Metrics'[ExpectedResultDate])),SELECTEDVALUE('Annual Metrics'[ExpectedResultDate],"NONE"),SELECTEDVALUE('Annual Metrics'[ExpectedResultDate]))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&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;</description>
      <pubDate>Fri, 03 May 2024 19:19:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/If-date-value-is-not-blank-return-date-value-if-date-value-is/m-p/3889963#M34778</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-05-03T19:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: If date value is not blank return date value if date value is blank return "Text"</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/If-date-value-is-not-blank-return-date-value-if-date-value-is/m-p/3891715#M34780</link>
      <description>&lt;P&gt;read about COALESCE and FORMAT.&lt;/P&gt;</description>
      <pubDate>Sun, 05 May 2024 00:05:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/If-date-value-is-not-blank-return-date-value-if-date-value-is/m-p/3891715#M34780</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-05-05T00:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: If date value is not blank return date value if date value is blank return "Text"</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/If-date-value-is-not-blank-return-date-value-if-date-value-is/m-p/3899057#M34811</link>
      <description>&lt;P&gt;This didnt help. I tried coalesce it did not return my text "NONE"&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2024 13:12:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/If-date-value-is-not-blank-return-date-value-if-date-value-is/m-p/3899057#M34811</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-05-07T13:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: If date value is not blank return date value if date value is blank return "Text"</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/If-date-value-is-not-blank-return-date-value-if-date-value-is/m-p/3899064#M34812</link>
      <description>&lt;P&gt;All I want is the date value to return(no calculations, just return whats there) and if it is blank return text "NONE".&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2024 13:14:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/If-date-value-is-not-blank-return-date-value-if-date-value-is/m-p/3899064#M34812</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-05-07T13:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: If date value is not blank return date value if date value is blank return "Text"</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/If-date-value-is-not-blank-return-date-value-if-date-value-is/m-p/3899091#M34813</link>
      <description>&lt;P&gt;You can't. You need to format the date as text first.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;COALESCE(FORMAT([Date],"yyyy-mm-dd"),"NONE")&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2024 13:21:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/If-date-value-is-not-blank-return-date-value-if-date-value-is/m-p/3899091#M34813</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-05-07T13:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: If date value is not blank return date value if date value is blank return "Text"</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/If-date-value-is-not-blank-return-date-value-if-date-value-is/m-p/3915996#M34894</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=IIF(IsNothing(Fields!date.Value), "NONE", FORMAT(Fields!date.Value,"yyyy-MM-dd"))&lt;/LI-CODE&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 05:50:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/If-date-value-is-not-blank-return-date-value-if-date-value-is/m-p/3915996#M34894</guid>
      <dc:creator>aduguid</dc:creator>
      <dc:date>2024-05-14T05:50:59Z</dc:date>
    </item>
  </channel>
</rss>

