<?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: Counting values in one column based on string filters from another column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-values-in-one-column-based-on-string-filters-from/m-p/2016324#M44864</link>
    <description>&lt;P&gt;Hi Anonymous&lt;/LI-USER&gt; ,&lt;BR /&gt;&lt;BR /&gt;In that case I think this is the measure you are looking for:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Let me know, if that helps!&lt;/P&gt;</description>
    <pubDate>Sat, 14 Aug 2021 08:03:04 GMT</pubDate>
    <dc:creator>Migasuke</dc:creator>
    <dc:date>2021-08-14T08:03:04Z</dc:date>
    <item>
      <title>Counting values in one column based on string filters from another column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-values-in-one-column-based-on-string-filters-from/m-p/2016136#M44859</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table name tableA with&amp;nbsp;&lt;BR /&gt;&lt;U&gt;date&lt;/U&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;U&gt;user id&lt;/U&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;U&gt;event&lt;/U&gt;&lt;/P&gt;&lt;P&gt;xx/xx/xxxx&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;abcdef&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; step 1&lt;/P&gt;&lt;P&gt;xx/xx/xxxx&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;abcdef&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; step 2&lt;/P&gt;&lt;P&gt;xx/xx/xxxx&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;abdjfe&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;step 1&lt;/P&gt;&lt;P&gt;xx/xx/xxxx&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;abdjfe&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;step 2&lt;/P&gt;&lt;P&gt;xx/xx/xxxx&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;apapap&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;step 3&lt;/P&gt;&lt;P&gt;xx/xx/xxxx&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;abcdef&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; step 3&lt;/P&gt;&lt;P&gt;xx/xx/xxxx&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;abcdef&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; step 4&lt;/P&gt;&lt;P&gt;xx/xx/xxxx&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;abdjfe&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;step 5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The idea is that each user id will have different events. So the first user id could have step 1 as their first event, then they will be taken to step 4 within the program. So I've tried to distinct count user id based on two filters, but the results are coming up blank.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the dax expression I've used:&lt;/P&gt;&lt;P&gt;eventflow1 = calculate(distinctcount( tableA[userid]), filter(tableA, tableA[event] = "step 1" &amp;amp;&amp;amp; tableA[event] = "step 2" &amp;amp;&amp;amp; tableA[event] = "step 4"))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But that dax expression is giving me a blank. If I switch the "&amp;amp;&amp;amp;" to "||" I get a higher number than I'm supposed to have. Essentially trying to build a funnel with how many steps a user completes. Thank you for the help!&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 22:09:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-values-in-one-column-based-on-string-filters-from/m-p/2016136#M44859</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-08-13T22:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Counting values in one column based on string filters from another column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-values-in-one-column-based-on-string-filters-from/m-p/2016139#M44860</link>
      <description>&lt;P&gt;Hi Anonymous&lt;/LI-USER&gt; ,&lt;BR /&gt;&lt;BR /&gt;Please could you tell me, what result would you expect in case of user ID "abcdef"&amp;nbsp; and "abdjfe"?&lt;BR /&gt;Just to be sure, we are on the same page.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 22:13:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-values-in-one-column-based-on-string-filters-from/m-p/2016139#M44860</guid>
      <dc:creator>Migasuke</dc:creator>
      <dc:date>2021-08-13T22:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: Counting values in one column based on string filters from another column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-values-in-one-column-based-on-string-filters-from/m-p/2016159#M44861</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="307954" data-lia-user-login="Migasuke" class="lia-mention lia-mention-user"&gt;Migasuke&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The result should look something like this (essentially with a Funnel Charts):&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Funnel Chart 1&lt;/U&gt;&lt;/P&gt;&lt;P&gt;Step 1&amp;nbsp; &amp;nbsp; &amp;nbsp; 2&lt;/P&gt;&lt;P&gt;Step 2&amp;nbsp; &amp;nbsp; &amp;nbsp; 2&lt;/P&gt;&lt;P&gt;Step 3&amp;nbsp; &amp;nbsp; &amp;nbsp; 2&lt;/P&gt;&lt;P&gt;Step 4&amp;nbsp; &amp;nbsp; &amp;nbsp; 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Each user id can complete different steps so based on their previous events. So For example, if one user completes Step 1, there will be two options to choose from on Step 2. Based on their selection, it will take them to either Step 3 or Step 4. But eventually, everyone gets to Step 5 so I want to see which route is popular.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 23:19:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-values-in-one-column-based-on-string-filters-from/m-p/2016159#M44861</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-08-13T23:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: Counting values in one column based on string filters from another column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-values-in-one-column-based-on-string-filters-from/m-p/2016324#M44864</link>
      <description>&lt;P&gt;Hi Anonymous&lt;/a&gt; ,&lt;BR /&gt;&lt;BR /&gt;In that case I think this is the measure you are looking for:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Let me know, if that helps!&lt;/P&gt;</description>
      <pubDate>Sat, 14 Aug 2021 08:03:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-values-in-one-column-based-on-string-filters-from/m-p/2016324#M44864</guid>
      <dc:creator>Migasuke</dc:creator>
      <dc:date>2021-08-14T08:03:04Z</dc:date>
    </item>
  </channel>
</rss>

