<?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: DAX query to filter out unmatched values in two columns in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-query-to-filter-out-unmatched-values-in-two-columns/m-p/1831734#M38968</link>
    <description>&lt;P&gt;I see IDs are not duplicated. I need to understand your data in detail why IDs are getting duplicated. Can you attach the data in excel file here?&lt;/P&gt;</description>
    <pubDate>Sun, 09 May 2021 06:28:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-05-09T06:28:28Z</dc:date>
    <item>
      <title>DAX query to filter out unmatched values in two columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-query-to-filter-out-unmatched-values-in-two-columns/m-p/1831102#M38935</link>
      <description>&lt;DIV&gt;Please see below the context of the question and the screenshot attached.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Overview&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;Before and after a coaching program, clients would fill an assessment/survey&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;definition of the attributes&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;Assessment id- is the unique id for a client&lt;/DIV&gt;&lt;DIV&gt;Assessment Phase: Initial - assessment before the program,&amp;nbsp; Final - assessment after the program&lt;/DIV&gt;&lt;DIV&gt;Year/month: when the assessment was done&lt;/DIV&gt;&lt;DIV&gt;Self Answered initial : a measure that displays 1 if a client filled the initial&amp;nbsp;survey&lt;/DIV&gt;&lt;DIV&gt;Self Answered&amp;nbsp;Final: a measure&amp;nbsp;that displays 1 if a client filled the final survey.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;**The goal is to be able to filter only the clients that filled both surveys. E.g. The first allowance id-&amp;nbsp;FFE1E8B3-86AC-4D1D-B31B-2CD6C51F22C9 filled both the initial and final survey. **&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;However some clients&amp;nbsp;like&amp;nbsp;FFB55230-DE36-4430-90F5-C20B53CA8724 have only completed the initial survey&lt;STRONG&gt;.(they should be filtered out)&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;Can anyone help provide the right functions to solve this problem. I am a newbie Power BI user&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks for your help.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 08 May 2021 02:31:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-query-to-filter-out-unmatched-values-in-two-columns/m-p/1831102#M38935</guid>
      <dc:creator>funlova-</dc:creator>
      <dc:date>2021-05-08T02:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: DAX query to filter out unmatched values in two columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-query-to-filter-out-unmatched-values-in-two-columns/m-p/1831103#M38936</link>
      <description>&lt;P&gt;Countrows(filter(table,[selffinalnswer]=1))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On phone cant type well.&lt;/P&gt;</description>
      <pubDate>Sat, 08 May 2021 02:43:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-query-to-filter-out-unmatched-values-in-two-columns/m-p/1831103#M38936</guid>
      <dc:creator>rfigtree</dc:creator>
      <dc:date>2021-05-08T02:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: DAX query to filter out unmatched values in two columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-query-to-filter-out-unmatched-values-in-two-columns/m-p/1831145#M38939</link>
      <description>&lt;P&gt;Since you are new user, I would suggest a simple solution of putting filter on these measures in filter pane on Power BI Desktop. Put both filter conditions as below:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Self Answered initial=1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Self Answered final=1&lt;/SPAN&gt;&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;Or you can create a third measure as below:&lt;/P&gt;&lt;P&gt;MeasureFIlterCustomer= IF(&lt;SPAN&gt;Self Answered initial=1 AND&amp;nbsp;Self Answered final = 1, 1, 0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Now put above measure in filter pane.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Let me know if you need any help. Mark this reply as solution if it answers your question.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 08 May 2021 05:39:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-query-to-filter-out-unmatched-values-in-two-columns/m-p/1831145#M38939</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-05-08T05:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: DAX query to filter out unmatched values in two columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-query-to-filter-out-unmatched-values-in-two-columns/m-p/1831543#M38957</link>
      <description>&lt;P&gt;Thank Megha166 for your response.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created a measure&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Filtercheck = IF(AND(ProdProgressTrackerAnswers[# Self Answered Initial] =1,ProdProgressTrackerAnswers[# Self Answered Final] =1), "1", "0") but when I added it to Fields, all the rows were filtered as 0 and the IDs were duplicated. I think maybe select MAX Id would help with the duplication issue. I have attached a screen shot.&lt;img /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 08 May 2021 20:08:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-query-to-filter-out-unmatched-values-in-two-columns/m-p/1831543#M38957</guid>
      <dc:creator>funlova-</dc:creator>
      <dc:date>2021-05-08T20:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: DAX query to filter out unmatched values in two columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-query-to-filter-out-unmatched-values-in-two-columns/m-p/1831734#M38968</link>
      <description>&lt;P&gt;I see IDs are not duplicated. I need to understand your data in detail why IDs are getting duplicated. Can you attach the data in excel file here?&lt;/P&gt;</description>
      <pubDate>Sun, 09 May 2021 06:28:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-query-to-filter-out-unmatched-values-in-two-columns/m-p/1831734#M38968</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-05-09T06:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: DAX query to filter out unmatched values in two columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-query-to-filter-out-unmatched-values-in-two-columns/m-p/1844446#M39366</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your response. I have added two screenshot below.&lt;/P&gt;&lt;P&gt;In the first table, #self answered is the count of people who filled the initial survey.&lt;/P&gt;&lt;P&gt;In the second table,&amp;nbsp; #self answered is the count of people who filled the final survey.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will like to see only the people that filled both the initial and final survey. This will help me to see the unique average score for the respondents. Currently, it is biased towards the final phase because we have more respondents in the intial phase&lt;/P&gt;&lt;P&gt;&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;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Which DAX function can I use to solve this problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 16 May 2021 13:00:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-query-to-filter-out-unmatched-values-in-two-columns/m-p/1844446#M39366</guid>
      <dc:creator>funlova-</dc:creator>
      <dc:date>2021-05-16T13:00:24Z</dc:date>
    </item>
  </channel>
</rss>

