<?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: OR statement in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/OR-statement/m-p/3683391#M143060</link>
    <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="569583" data-lia-user-login="Dangar332" class="lia-mention lia-mention-user"&gt;Dangar332&lt;/a&gt;&amp;nbsp;, it is still the same un fortunately. Do you have more ideas, please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 06 Feb 2024 15:11:31 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-02-06T15:11:31Z</dc:date>
    <item>
      <title>OR statement</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/OR-statement/m-p/3636563#M140691</link>
      <description>&lt;P&gt;Hi every one,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to run this iif in DAX, but I get an error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;= iif (OR( [StationName.Value] = "CONGbann01", [StationName.Value] = "CONGccbr01"),

(Fields!DriftCorrection_pH7Value.Value + Fields!Dr&lt;SPAN&gt;iftCorrection_pH4Value.Value)/2.0,&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;Fields!DriftCorrection_pH7Value.Value +Fields!DriftCorrection_pH10Value.Value)/2.0)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Here is the error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The Value expression for the textrun 'DriftCorrection_pH7Value1.Paragraphs[0].TextRuns[0]' contains an error: [BC30201] Expression expected.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also, I included 2 pictures of the variables (circled in red) I am using.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;img /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2024 18:56:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/OR-statement/m-p/3636563#M140691</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-01-12T18:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: OR statement</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/OR-statement/m-p/3637030#M140719</link>
      <description>&lt;P&gt;hi,&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;try&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;= iif (
     OR( [StationName.Value] = "CONGbann01",
         [StationName.Value] = "CONGccbr01"
     ),
     (Fields!DriftCorrection_pH7Value.Value + Fields!DriftCorrection_pH4Value.Value)/2.0,
     (Fields!DriftCorrection_pH7Value.Value +Fields!DriftCorrection_pH10Value.Value)/2.0
  )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jan 2024 06:16:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/OR-statement/m-p/3637030#M140719</guid>
      <dc:creator>Dangar332</dc:creator>
      <dc:date>2024-01-13T06:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: OR statement</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/OR-statement/m-p/3683391#M143060</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="569583" data-lia-user-login="Dangar332" class="lia-mention lia-mention-user"&gt;Dangar332&lt;/a&gt;&amp;nbsp;, it is still the same un fortunately. Do you have more ideas, please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2024 15:11:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/OR-statement/m-p/3683391#M143060</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-02-06T15:11:31Z</dc:date>
    </item>
  </channel>
</rss>

