<?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: Measure giving to every combination in the table in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-giving-to-every-combination-in-the-table/m-p/2826897#M89895</link>
    <description>&lt;P&gt;Looks like you've got missing relationships between some tables...&lt;/P&gt;</description>
    <pubDate>Sat, 08 Oct 2022 02:08:17 GMT</pubDate>
    <dc:creator>daXtreme</dc:creator>
    <dc:date>2022-10-08T02:08:17Z</dc:date>
    <item>
      <title>Measure giving to every combination in the table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-giving-to-every-combination-in-the-table/m-p/2826789#M89887</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I'm facing a weird issue&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table grouped table at Order Level where I've throwed in a set of KPIs to analyze if a Order should be submitted in the system or not. Nothing to say till, I've added the following measure:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Order Status = 
VAR one_ = [1. % Order Value (100%)] -- Threshold 100%
VAR two_ = [2.  (0%)] -- Threshold 0%
VAR four_ = [4. ] --  Threshold &amp;gt;= 3%
VAR six_ = [6. ] -- Threshold &amp;lt;= 2%

RETURN 
 IF (
        one_ &amp;lt; 1
            || two_ &amp;gt; 0
            || four_ &amp;lt; 0.03
        "Declined",
        "Authorized"
    )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Now Power BI is duplicating each Order by the number of Countries that we have in system(The order only exists on Ivory Coast)&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Any idea of what might be happening? Without the Order Status, the Dashboard works great without any relationship issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Diego&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2022 21:34:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-giving-to-every-combination-in-the-table/m-p/2826789#M89887</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-07T21:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: Measure giving to every combination in the table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-giving-to-every-combination-in-the-table/m-p/2826897#M89895</link>
      <description>&lt;P&gt;Looks like you've got missing relationships between some tables...&lt;/P&gt;</description>
      <pubDate>Sat, 08 Oct 2022 02:08:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-giving-to-every-combination-in-the-table/m-p/2826897#M89895</guid>
      <dc:creator>daXtreme</dc:creator>
      <dc:date>2022-10-08T02:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Measure giving to every combination in the table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-giving-to-every-combination-in-the-table/m-p/2827380#M89931</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;No missing relationship.. Look below:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;With just Country, Order Number and Measure 1(working 100%)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;With the measure below that performs a logical condition based on Measure 1.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Order Status = 
VAR one_ = [1.] -- Threshold 100%
RETURN 
 IF (one_ &amp;lt; 1,"Declined","Authorized")&lt;/LI-CODE&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Any idea on what might be the root cause of this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks Diego&lt;/P&gt;</description>
      <pubDate>Sat, 08 Oct 2022 15:47:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-giving-to-every-combination-in-the-table/m-p/2827380#M89931</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-08T15:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: Measure giving to every combination in the table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-giving-to-every-combination-in-the-table/m-p/2828963#M90053</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;Any idea on how to resolve this cross join between non related variables?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;</description>
      <pubDate>Sun, 09 Oct 2022 15:12:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-giving-to-every-combination-in-the-table/m-p/2828963#M90053</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-09T15:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: Measure giving to every combination in the table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-giving-to-every-combination-in-the-table/m-p/2853392#M91584</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may need to take blank values into account, try the formula below if it works.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Order Status =
VAR one_ = [1.] -- Threshold 100%
RETURN
    IF ( one_ = BLANK (), BLANK (), IF ( one_ &amp;lt; 1, "Declined", "Authorized" ) )
&lt;/LI-CODE&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Community Support Team _ Eason&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2022 10:05:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-giving-to-every-combination-in-the-table/m-p/2853392#M91584</guid>
      <dc:creator>v-easonf-msft</dc:creator>
      <dc:date>2022-10-20T10:05:31Z</dc:date>
    </item>
  </channel>
</rss>

