<?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: Multiple arguments IF statement in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-arguments-IF-statement/m-p/3133810#M111607</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;yes it is possible, I would advise to use nested if statement in Power Query.&lt;BR /&gt;Here is example:&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Desktop/Power-Query-Nested-IF-AND-Statement/m-p/538947" target="_blank"&gt;https://community.powerbi.com/t5/Desktop/Power-Query-Nested-IF-AND-Statement/m-p/538947&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Mar 2023 15:13:37 GMT</pubDate>
    <dc:creator>jony_gloeckner</dc:creator>
    <dc:date>2023-03-15T15:13:37Z</dc:date>
    <item>
      <title>Multiple arguments IF statement</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-arguments-IF-statement/m-p/3133705#M111600</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Simplified, I have the below data loaded in to Power BI:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want Power BI to calculate in a column whether the actual time arrived is considered early, on time, or late. But I have different conditions on different suppliers.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Supplier 1: If Actual time Arrived is +/-60 mins of Time Expected, then it is 'On Time'. If it is more than -60 than time Expected, then it is 'Early. If it is more than +60 than Time Expected, then it is 'Late'.&lt;/LI&gt;&lt;LI&gt;Supplier 2:&amp;nbsp;If Actual time Arrived is +/-255 mins of Time Expected, then it is 'On Time'. If it is more than -255 than time Expected, then it is 'Early. If it is more than +255 than Time Expected, then it is 'Late'.&lt;/LI&gt;&lt;LI&gt;Supplier 3:&amp;nbsp;If Actual time Arrived is +/-255 mins of Time Expected, then it is 'On Time'. If it is more than -255 than time Expected, then it is 'Early. If it is more than +255 than Time Expected, then it is 'Late'.&lt;/LI&gt;&lt;LI&gt;Supplier 4:&amp;nbsp;If Actual time Arrived is +/-255 mins of Time Expected, then it is 'On Time'. If it is more than -255 than time Expected, then it is 'Early. If it is more than +255 than Time Expected, then it is 'Late'.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How is it possible to write in Power BI so I have a column stating whether each delivery was either on time, early or late?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2023 14:41:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-arguments-IF-statement/m-p/3133705#M111600</guid>
      <dc:creator>rebrow31</dc:creator>
      <dc:date>2023-03-15T14:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple arguments IF statement</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-arguments-IF-statement/m-p/3133810#M111607</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;yes it is possible, I would advise to use nested if statement in Power Query.&lt;BR /&gt;Here is example:&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Desktop/Power-Query-Nested-IF-AND-Statement/m-p/538947" target="_blank"&gt;https://community.powerbi.com/t5/Desktop/Power-Query-Nested-IF-AND-Statement/m-p/538947&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2023 15:13:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-arguments-IF-statement/m-p/3133810#M111607</guid>
      <dc:creator>jony_gloeckner</dc:creator>
      <dc:date>2023-03-15T15:13:37Z</dc:date>
    </item>
  </channel>
</rss>

