<?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: Need DAX to format Yes or No question returning one answer. in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-DAX-to-format-Yes-or-No-question-returning-one-answer/m-p/3471480#M132555</link>
    <description>&lt;P&gt;Thank you for the fast response! It did work as a column. I couldnt make it work as a Measure. The error below wouldnt let me move forward.&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;</description>
    <pubDate>Wed, 11 Oct 2023 14:54:23 GMT</pubDate>
    <dc:creator>dataanalyst2023</dc:creator>
    <dc:date>2023-10-11T14:54:23Z</dc:date>
    <item>
      <title>Need DAX to format Yes or No question returning one answer.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-DAX-to-format-Yes-or-No-question-returning-one-answer/m-p/3471292#M132543</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm having some trouble finding the correct formula to capture the Performance mode in the same column. I'm creating a Dasboard where depends if the person asnwers Yes or No it will determine the Performance Mode. For example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Does personnel know where to find instructions? = No and&amp;nbsp;Does personnel perform this task more than 10 times a day? = Yes is Skill-Based Mode&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;Does personnel perform this task more than 10 times a day? = Yes is a Skill-Based Mode&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3.&amp;nbsp;Did personnel demonstrate proper use of PPE required for this task = No and&amp;nbsp;Does personnel perform this task more than 10 times a day? = Yes is Skill-Based Mode&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2023 13:34:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-DAX-to-format-Yes-or-No-question-returning-one-answer/m-p/3471292#M132543</guid>
      <dc:creator>dataanalyst2023</dc:creator>
      <dc:date>2023-10-11T13:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: Need DAX to format Yes or No question returning one answer.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-DAX-to-format-Yes-or-No-question-returning-one-answer/m-p/3471322#M132545</link>
      <description>&lt;P&gt;This is where I love the SWITCH() function. You can do something like the following in a measure (or custom column if you are binning/grouping for a slicer). The following assumes you Answer 1 &amp;amp; Answer 2 are from your list item 1, and Answer 4 &amp;amp; Answer 5 are from your Bullet point 3. Without knowing the column names the results are stored in, this is the closest answer I can get for you - but should put you on the right path!&lt;BR /&gt;&lt;BR /&gt;for a bit more clarification SWITCH is being used to evaluate for a TRUE condition where in your list item 1. requires a value to be equal to "No" for answer 1 and "Yes" for answer 2, resulting in a combined "TRUE" output for your first list item. You'll want to understand what output you want for all combinations. Using an Excel sheet is a good way to ensure you have all possible combinations mapped out - and your desired output:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SWITCH(
    TRUE(),
    'Table'[Answer 1] = "No" &amp;amp;&amp;amp; 'Table'[Answer 2] = "Yes" , "Skill-Based Mode",
    'Table'[Answer 3] = "Yes", "Skill-Based Mode",
    'Table'[Answer 4] = "No" &amp;amp;&amp;amp; 'Table'[Answer 5] = "Yes", "Skill-Based Mode"
    ) &lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2023 13:46:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-DAX-to-format-Yes-or-No-question-returning-one-answer/m-p/3471322#M132545</guid>
      <dc:creator>Erokor</dc:creator>
      <dc:date>2023-10-11T13:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: Need DAX to format Yes or No question returning one answer.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-DAX-to-format-Yes-or-No-question-returning-one-answer/m-p/3471480#M132555</link>
      <description>&lt;P&gt;Thank you for the fast response! It did work as a column. I couldnt make it work as a Measure. The error below wouldnt let me move forward.&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;</description>
      <pubDate>Wed, 11 Oct 2023 14:54:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-DAX-to-format-Yes-or-No-question-returning-one-answer/m-p/3471480#M132555</guid>
      <dc:creator>dataanalyst2023</dc:creator>
      <dc:date>2023-10-11T14:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: Need DAX to format Yes or No question returning one answer.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-DAX-to-format-Yes-or-No-question-returning-one-answer/m-p/3471532#M132561</link>
      <description>&lt;P&gt;If you are planning on Filtering in your visuals by the output - I would say doing it in a Column is the more than likely the right route to go. If you are calculating a "Count" and want an output, you can do this using an iterator to give Row Context.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2023 15:15:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-DAX-to-format-Yes-or-No-question-returning-one-answer/m-p/3471532#M132561</guid>
      <dc:creator>Erokor</dc:creator>
      <dc:date>2023-10-11T15:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: Need DAX to format Yes or No question returning one answer.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-DAX-to-format-Yes-or-No-question-returning-one-answer/m-p/3471548#M132562</link>
      <description>&lt;P&gt;In addition, if I answered your question in my other reply - please be sure to mark it as the solution so others can find it more easily to aid in their searches for answers!&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2023 15:22:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-DAX-to-format-Yes-or-No-question-returning-one-answer/m-p/3471548#M132562</guid>
      <dc:creator>Erokor</dc:creator>
      <dc:date>2023-10-11T15:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: Need DAX to format Yes or No question returning one answer.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-DAX-to-format-Yes-or-No-question-returning-one-answer/m-p/3471610#M132567</link>
      <description>&lt;P&gt;Thank you again for your help.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2023 15:57:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-DAX-to-format-Yes-or-No-question-returning-one-answer/m-p/3471610#M132567</guid>
      <dc:creator>dataanalyst2023</dc:creator>
      <dc:date>2023-10-11T15:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: Need DAX to format Yes or No question returning one answer.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-DAX-to-format-Yes-or-No-question-returning-one-answer/m-p/3471623#M132568</link>
      <description>&lt;P&gt;My pleasure! It's one of the highlights of my day to be able to help out folks.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2023 16:01:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-DAX-to-format-Yes-or-No-question-returning-one-answer/m-p/3471623#M132568</guid>
      <dc:creator>Erokor</dc:creator>
      <dc:date>2023-10-11T16:01:29Z</dc:date>
    </item>
  </channel>
</rss>

