<?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 DAX IF() no longer working in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-IF-no-longer-working/m-p/1032116#M13554</link>
    <description>&lt;P&gt;I am new to Power BI.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am taking reports over from a previous employee in my company. I downloaded the .pbix file from app.powerbi.com for updating.&lt;/P&gt;&lt;P&gt;When I opened up a custom column to edit it I get errors in the IF() statement, though the report seems to be running and refreshing. The errors are "unexpected expression 'BLANK'" and&amp;nbsp;&lt;SPAN&gt;"unexpected expression '_time'".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The code looks like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;LI-SPOILER&gt;&lt;DIV&gt;&lt;SPAN&gt;Time in Quoting (hours) = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var _time = DATEDIFF(RequestWorkflowHistory[Quoting], RequestWorkflowHistory[Quoted], MINUTE) / 60&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;return IF(_time &amp;lt; 0, BLANK(), _time)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/LI-SPOILER&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN&gt;However, when I click enter on the code (without changing any of the code) the report breaks and I get a DAX syntax error:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-SPOILER&gt;The syntax for 'BLANK' is incorrect. (DAX(var _time = DATEDIFF(RequestWorkflowHistory[Quoting], RequestWorkflowHistory[Quoted], MINUTE) / 60return IF(_time &amp;lt; 0. BLANK(), _time))).&lt;/LI-SPOILER&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Can anyone point me in the right direction as to why this is happenning?&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
    <pubDate>Fri, 17 Apr 2020 09:57:24 GMT</pubDate>
    <dc:creator>TBardien</dc:creator>
    <dc:date>2020-04-17T09:57:24Z</dc:date>
    <item>
      <title>DAX IF() no longer working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-IF-no-longer-working/m-p/1032116#M13554</link>
      <description>&lt;P&gt;I am new to Power BI.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am taking reports over from a previous employee in my company. I downloaded the .pbix file from app.powerbi.com for updating.&lt;/P&gt;&lt;P&gt;When I opened up a custom column to edit it I get errors in the IF() statement, though the report seems to be running and refreshing. The errors are "unexpected expression 'BLANK'" and&amp;nbsp;&lt;SPAN&gt;"unexpected expression '_time'".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The code looks like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;LI-SPOILER&gt;&lt;DIV&gt;&lt;SPAN&gt;Time in Quoting (hours) = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var _time = DATEDIFF(RequestWorkflowHistory[Quoting], RequestWorkflowHistory[Quoted], MINUTE) / 60&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;return IF(_time &amp;lt; 0, BLANK(), _time)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/LI-SPOILER&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN&gt;However, when I click enter on the code (without changing any of the code) the report breaks and I get a DAX syntax error:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-SPOILER&gt;The syntax for 'BLANK' is incorrect. (DAX(var _time = DATEDIFF(RequestWorkflowHistory[Quoting], RequestWorkflowHistory[Quoted], MINUTE) / 60return IF(_time &amp;lt; 0. BLANK(), _time))).&lt;/LI-SPOILER&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Can anyone point me in the right direction as to why this is happenning?&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Fri, 17 Apr 2020 09:57:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-IF-no-longer-working/m-p/1032116#M13554</guid>
      <dc:creator>TBardien</dc:creator>
      <dc:date>2020-04-17T09:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: DAX IF() no longer working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-IF-no-longer-working/m-p/1032119#M13555</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="223589" data-lia-user-login="TBardien" class="lia-mention lia-mention-user"&gt;TBardien&lt;/a&gt;&amp;nbsp; Looks like you are using "." instead of a comma.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Corrected&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;return IF(_time &amp;lt; 0, BLANK(), _time)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you find this answer useful, please mark this as an accepted solution.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2020 10:02:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-IF-no-longer-working/m-p/1032119#M13555</guid>
      <dc:creator>nandukrishnavs</dc:creator>
      <dc:date>2020-04-17T10:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: DAX IF() no longer working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-IF-no-longer-working/m-p/1032122#M13556</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="32333" data-lia-user-login="nandukrishnavs" class="lia-mention lia-mention-user"&gt;nandukrishnavs&lt;/a&gt;&amp;nbsp;I am using a "," You can see when you view the code, However, when the error pops up, it shows a "." This is the code that breaks:&lt;/P&gt;&lt;DIV&gt;&lt;STRONG&gt;&lt;SPAN&gt;Time in Quoting (hours) = &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&lt;SPAN&gt;var _time = DATEDIFF(RequestWorkflowHistory[Quoting], RequestWorkflowHistory[Quoted], MINUTE) / 60&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&lt;SPAN&gt;return IF(_time &amp;lt; 0, BLANK(), _time)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 17 Apr 2020 10:16:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-IF-no-longer-working/m-p/1032122#M13556</guid>
      <dc:creator>TBardien</dc:creator>
      <dc:date>2020-04-17T10:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: DAX IF() no longer working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-IF-no-longer-working/m-p/1032152#M13559</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="223589" data-lia-user-login="TBardien" class="lia-mention lia-mention-user"&gt;TBardien&lt;/a&gt;&amp;nbsp; - I have formatted the DAX measure.&lt;BR /&gt;&lt;BR /&gt;Try to copy-paste below code.&lt;/P&gt;&lt;LI-CODE lang="ruby"&gt;Time in Quoting (hours) =
VAR _time =
    DATEDIFF (
        RequestWorkflowHistory[Quoting],
        RequestWorkflowHistory[Quoted],
        MINUTE
    ) / 60
RETURN
    IF ( _time &amp;lt; 0, BLANK (), _time )&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 17 Apr 2020 10:21:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-IF-no-longer-working/m-p/1032152#M13559</guid>
      <dc:creator>nandukrishnavs</dc:creator>
      <dc:date>2020-04-17T10:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: DAX IF() no longer working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-IF-no-longer-working/m-p/1032183#M13561</link>
      <description>&lt;P&gt;Copied the code, still the same error:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The syntax for 'BLANK' is incorrect. (DAX(VAR _time = DATEDIFF ( RequestWorkflowHistory[Quoting], RequestWorkflowHistory[Quoted], MINUTE ) / 60RETURN IF ( _time &amp;lt; 0. BLANK (), _time ))).&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2020 10:42:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-IF-no-longer-working/m-p/1032183#M13561</guid>
      <dc:creator>TBardien</dc:creator>
      <dc:date>2020-04-17T10:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: DAX IF() no longer working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-IF-no-longer-working/m-p/1032188#M13562</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="32333" data-lia-user-login="nandukrishnavs" class="lia-mention lia-mention-user"&gt;nandukrishnavs&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2020 10:45:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-IF-no-longer-working/m-p/1032188#M13562</guid>
      <dc:creator>TBardien</dc:creator>
      <dc:date>2020-04-17T10:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: DAX IF() no longer working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-IF-no-longer-working/m-p/1032217#M13563</link>
      <description>&lt;LI-CODE lang="markup"&gt;Time in Quoting (hours) =
VAR _time =
    DATEDIFF (
        RequestWorkflowHistory[Quoting],
        RequestWorkflowHistory[Quoted],
        MINUTE
    ) / 60
RETURN
    IF ( _time &amp;gt;= 0, _time )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do the above.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best&lt;/P&gt;
&lt;P&gt;D&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2020 11:11:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-IF-no-longer-working/m-p/1032217#M13563</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-17T11:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: DAX IF() no longer working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-IF-no-longer-working/m-p/1032231#M13565</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;nope, still not working:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2020 11:21:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-IF-no-longer-working/m-p/1032231#M13565</guid>
      <dc:creator>TBardien</dc:creator>
      <dc:date>2020-04-17T11:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: DAX IF() no longer working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-IF-no-longer-working/m-p/1032234#M13568</link>
      <description>&lt;P&gt;The DAX is correct. It's something wrong with your file. Please update PBI Desktop to the latest version and refresh the model.&lt;BR /&gt;&lt;BR /&gt;By the way, is [Time in Quoting (hours] a measure or a calc column? If it's a measure, then this DAX might or might not be correct. I can't say because you're not following Best Practices. Are '...'[Quoted] and '...'[Quoting] measures?&lt;BR /&gt;&lt;BR /&gt;Best&lt;BR /&gt;D&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2020 11:25:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-IF-no-longer-working/m-p/1032234#M13568</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-17T11:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: DAX IF() no longer working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-IF-no-longer-working/m-p/1032242#M13569</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;calc column i think, this is the properties of it.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2020 11:28:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-IF-no-longer-working/m-p/1032242#M13569</guid>
      <dc:creator>TBardien</dc:creator>
      <dc:date>2020-04-17T11:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: DAX IF() no longer working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-IF-no-longer-working/m-p/1032253#M13572</link>
      <description>OK. Try to remove the IF and instead return just _time. See if this works. If not, change the name of the variable to __time (with 2 underscores). &lt;BR /&gt;&lt;BR /&gt;Tell me the outcome.&lt;BR /&gt;&lt;BR /&gt;Best&lt;BR /&gt;D</description>
      <pubDate>Fri, 17 Apr 2020 11:31:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-IF-no-longer-working/m-p/1032253#M13572</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-17T11:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: DAX IF() no longer working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-IF-no-longer-working/m-p/1032362#M13592</link>
      <description>&lt;P&gt;&lt;FONT&gt;Anonymous&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;It does return if I remove the IF(). However, im going to need to be able to use the IF().&lt;BR /&gt;I uninstalled PowerBI and reinstalled, it still did not work.&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;I also downloaded the PowerBI sample "Sales &amp;amp; Returns Sample v201912Sales &amp;amp; Returns Sample v201912" and I got the error there too for the code:&lt;BR /&gt;&lt;STRONG&gt;Product Returns Top 3 = IF([ProductR Top N]&amp;lt;4,[Returns],0)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;The syntax for '[Returns]' is incorrect. (DAX(IF([ProductR Top N]&amp;lt;4.[Returns],0))).&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;&lt;img /&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2020 12:27:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-IF-no-longer-working/m-p/1032362#M13592</guid>
      <dc:creator>TBardien</dc:creator>
      <dc:date>2020-04-17T12:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: DAX IF() no longer working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-IF-no-longer-working/m-p/1032370#M13595</link>
      <description>This is very weird. The above can be written as:&lt;BR /&gt;&lt;BR /&gt;( [ProductR Top N] &amp;lt; 4 ) * [Returns]&lt;BR /&gt;&lt;BR /&gt;Your previous one can be written as:&lt;BR /&gt;&lt;BR /&gt;( _time &amp;gt;= 0 ) * _time&lt;BR /&gt;&lt;BR /&gt;But not being able to use IF... that's not good &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Best&lt;BR /&gt;D</description>
      <pubDate>Fri, 17 Apr 2020 12:32:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-IF-no-longer-working/m-p/1032370#M13595</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-17T12:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: DAX IF() no longer working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-IF-no-longer-working/m-p/1032396#M13602</link>
      <description>&lt;P&gt;Try a second "," in your code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="lia-spoiler-content"&gt;&lt;DIV&gt;&lt;SPAN&gt;Time in Quoting (hours) = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var _time = DATEDIFF(RequestWorkflowHistory[Quoting], RequestWorkflowHistory[Quoted], MINUTE) / 60&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;return IF(_time &amp;lt; 0,&lt;FONT color="#FF0000"&gt;,&lt;/FONT&gt; BLANK(), _time)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Power BI expect a number after your first , like 0,1 and waits&amp;nbsp; for the second statement of if.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Hope it's working for you &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Bruening&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 17 Apr 2020 12:44:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-IF-no-longer-working/m-p/1032396#M13602</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-17T12:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: DAX IF() no longer working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-IF-no-longer-working/m-p/1032404#M13604</link>
      <description>Hi Anonymous&lt;/a&gt;.&lt;BR /&gt;&lt;BR /&gt;If you had read the whole conversation, you'd have known that IF( _time &amp;gt;= 0, _time ) does not work, either. So it's not BLANK that's the issue.&lt;BR /&gt;&lt;BR /&gt;And of course, if your code works, I'll have to eat my hat &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Best&lt;BR /&gt;D</description>
      <pubDate>Fri, 17 Apr 2020 12:48:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-IF-no-longer-working/m-p/1032404#M13604</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-17T12:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: DAX IF() no longer working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-IF-no-longer-working/m-p/1032431#M13607</link>
      <description>&lt;P&gt;Hi Anonymous&lt;/a&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope for you, that my code dosen't work. I don't like eating hats &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes your right, BLANK isn't thr problem. Its the number. I expect that Power BI try to check&amp;nbsp; "&lt;SPAN&gt;_time &amp;lt; 0.BLANK()" but can't handle the number 0.BLANK (or" 4.Returns" in the other case). Probably he has german numbers in Porwer BI. We use , to seperate between integer and decimal. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regard &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Bruening&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2020 13:04:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-IF-no-longer-working/m-p/1032431#M13607</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-17T13:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: DAX IF() no longer working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-IF-no-longer-working/m-p/1032454#M13611</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems to be working. This is crazy:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I change the returniftrue parameter to an integer it works, So I did suspect PowerBI couldn't handle a variable for that parameter. But as I said, the sample code also did not work, which through me off.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I go about changing my PowerBI not to use german numbers???&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, 17 Apr 2020 13:15:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-IF-no-longer-working/m-p/1032454#M13611</guid>
      <dc:creator>TBardien</dc:creator>
      <dc:date>2020-04-17T13:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: DAX IF() no longer working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-IF-no-longer-working/m-p/1032473#M13614</link>
      <description>&lt;P&gt;Hey &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="223589" data-lia-user-login="TBardien" class="lia-mention lia-mention-user"&gt;TBardien&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the sample code is not working with the same problem. "4.Return" is not a correct number for Power B.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not sure if its enoght to change the language in File --&amp;gt; Options &amp;amp; sttings --&amp;gt; options --&amp;gt; Regional settings&lt;/P&gt;&lt;P&gt;but ou can try a shot there &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bruening&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2020 13:29:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-IF-no-longer-working/m-p/1032473#M13614</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-17T13:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: DAX IF() no longer working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-IF-no-longer-working/m-p/1032530#M13623</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Changing the language settings does not help.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2020 13:56:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-IF-no-longer-working/m-p/1032530#M13623</guid>
      <dc:creator>TBardien</dc:creator>
      <dc:date>2020-04-17T13:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: DAX IF() no longer working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-IF-no-longer-working/m-p/1032570#M13628</link>
      <description>&lt;P&gt;Did you try it with an new report or with you old report. The model language can't be changed. If it's not working i haven't an idea what to do &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2020 14:04:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-IF-no-longer-working/m-p/1032570#M13628</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-17T14:04:38Z</dc:date>
    </item>
  </channel>
</rss>

