<?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: Problem with variant data type in calculated column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-variant-data-type-in-calculated-column/m-p/2414827#M63751</link>
    <description>&lt;P&gt;Thanks for both answers!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However I've tried that before and yes, the code works. But then I instead face the problem that Arival-date has the wrong data type. The end result is a column where I can change the type to Date (so that I can use a Date interval as a slicer).&amp;nbsp;&amp;nbsp;&lt;img /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 24 Mar 2022 11:11:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-03-24T11:11:55Z</dc:date>
    <item>
      <title>Problem with variant data type in calculated column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-variant-data-type-in-calculated-column/m-p/2414652#M63734</link>
      <description>&lt;P&gt;I am trying to use an if statement that uses a "fake" date when an order haven't been assigned a arrival date.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when writing this seemingly easy piece of code I get the below error message saying that it "can't return a variant data typ..."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;There has to be a way around this. Does anyone know?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 09:58:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-variant-data-type-in-calculated-column/m-p/2414652#M63734</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-24T09:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with variant data type in calculated column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-variant-data-type-in-calculated-column/m-p/2414688#M63736</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;try using DATE(2999,12,31) in the second argument of IF() statement in place of "2999-12-31"&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 10:14:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-variant-data-type-in-calculated-column/m-p/2414688#M63736</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-24T10:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with variant data type in calculated column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-variant-data-type-in-calculated-column/m-p/2414771#M63742</link>
      <description>&lt;P&gt;"2999-12-31" is a string, not a real date. Use the DATE function.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 10:46:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-variant-data-type-in-calculated-column/m-p/2414771#M63742</guid>
      <dc:creator>daXtreme</dc:creator>
      <dc:date>2022-03-24T10:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with variant data type in calculated column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-variant-data-type-in-calculated-column/m-p/2414827#M63751</link>
      <description>&lt;P&gt;Thanks for both answers!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However I've tried that before and yes, the code works. But then I instead face the problem that Arival-date has the wrong data type. The end result is a column where I can change the type to Date (so that I can use a Date interval as a slicer).&amp;nbsp;&amp;nbsp;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 11:11:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-variant-data-type-in-calculated-column/m-p/2414827#M63751</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-24T11:11:55Z</dc:date>
    </item>
  </channel>
</rss>

