<?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: how to write DAX to select YES/NO for specific column with some criteria? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-write-DAX-to-select-YES-NO-for-specific-column-with-some/m-p/4042100#M160291</link>
    <description>&lt;P&gt;Hi Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since l don't know whether you need a calculated column or a measure, the calculated column code can be added here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Key Account Measure =
IF (
    'Table'[Forecasted Revenue] &amp;gt; 500000 ||
    'Table'[Account Type] = "PACE Account" ||
    'Table'[Delivery Model] = "Embedded Engagement",
    "Yes",
    "No"
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The result is shown in the figure:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Zhu&lt;BR /&gt;Community Support Team&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If there is any post&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;to help the other members find it more quickly.&lt;BR /&gt;If I misunderstand your needs or you still have problems on it, please feel free to let us know.&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Thanks a lot!&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 15 Jul 2024 09:01:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-07-15T09:01:28Z</dc:date>
    <item>
      <title>how to write DAX to select YES/NO for specific column with some criteria?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-write-DAX-to-select-YES-NO-for-specific-column-with-some/m-p/4032461#M159542</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;Here i am having a scenrio like ,&amp;nbsp;Currently we have one “Yes/No” field (Key Accounts) , now I would like it to be changed to below [Any one is Yes, it will become key account]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Key Account definition criteria :&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Also below are our thoughts on what defines an account as a Key Account:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Revenue – Forecasted Revenue &amp;gt;500K? - Yes&lt;/LI&gt;&lt;LI&gt;PACE Account (Account Type column) – Yes&lt;/LI&gt;&lt;LI&gt;Is it embedded engagement&amp;nbsp; (Delivery Model column)? – Yes&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;So these kind of conditions there for choosing Key Accounts .&lt;/P&gt;&lt;P&gt;I have to apply these formulas on tables , cards &amp;amp; also into bookmarks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help to achieve this ..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;DK&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 11:38:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-write-DAX-to-select-YES-NO-for-specific-column-with-some/m-p/4032461#M159542</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-09T11:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: how to write DAX to select YES/NO for specific column with some criteria?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-write-DAX-to-select-YES-NO-for-specific-column-with-some/m-p/4033427#M159670</link>
      <description>&lt;P&gt;Hi Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="89602" data-lia-user-login="foodd" class="lia-mention lia-mention-user"&gt;foodd&lt;/a&gt;&amp;nbsp;, thanks for your concern about this case. I had a try based on the user's requirement. Please check if there is anything that can be improved. Here is my solution:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.Create a simple data:&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;2.Create a measure as follows:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Key Account Measure =
IF (
    MAX('Table'[Forecasted Revenue]) &amp;gt; 500000 ||
    MAX('Table'[Account Type]) = "PACE Account" ||
    MAX('Table'[Delivery Model]) = "Embedded Engagement",
    "Yes",
    "No"
)
&lt;/LI-CODE&gt;&lt;P&gt;3.The final result is shown in the figure:&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;If you have any other questions please feel free to contact me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Zhu&lt;BR /&gt;Community Support Team&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If there is any post&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;to help the other members find it more quickly.&lt;BR /&gt;If I misunderstand your needs or you still have problems on it, please feel free to let us know.&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Thanks a lot!&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 02:06:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-write-DAX-to-select-YES-NO-for-specific-column-with-some/m-p/4033427#M159670</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-10T02:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: how to write DAX to select YES/NO for specific column with some criteria?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-write-DAX-to-select-YES-NO-for-specific-column-with-some/m-p/4042100#M160291</link>
      <description>&lt;P&gt;Hi Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since l don't know whether you need a calculated column or a measure, the calculated column code can be added here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Key Account Measure =
IF (
    'Table'[Forecasted Revenue] &amp;gt; 500000 ||
    'Table'[Account Type] = "PACE Account" ||
    'Table'[Delivery Model] = "Embedded Engagement",
    "Yes",
    "No"
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The result is shown in the figure:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Zhu&lt;BR /&gt;Community Support Team&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If there is any post&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;to help the other members find it more quickly.&lt;BR /&gt;If I misunderstand your needs or you still have problems on it, please feel free to let us know.&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Thanks a lot!&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2024 09:01:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-write-DAX-to-select-YES-NO-for-specific-column-with-some/m-p/4042100#M160291</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-15T09:01:28Z</dc:date>
    </item>
  </channel>
</rss>

