<?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: Finding Number of Customers who played a video at least once in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Finding-Number-of-Customers-who-played-a-video-at-least-once/m-p/2945840#M97447</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="481135" data-lia-user-login="davidbd" class="lia-mention lia-mention-user"&gt;davidbd&lt;/a&gt;&amp;nbsp;, usually it's better to provide a small data sample..&lt;/P&gt;&lt;P&gt;Anyway, I'd start from the syntax mistakes:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;DistinctCustomersPlayedVideo =
CALCULATE (
    DISTINCTCOUNT ( ConsumerFunnelTime[ConsumerID] ),
    ConsumerFunnelTime[ActivityType] IN { "ProductVideoViewed" }
)&lt;/LI-CODE&gt;</description>
    <pubDate>Sat, 03 Dec 2022 09:10:38 GMT</pubDate>
    <dc:creator>ERD</dc:creator>
    <dc:date>2022-12-03T09:10:38Z</dc:date>
    <item>
      <title>Finding Number of Customers who played a video at least once</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Finding-Number-of-Customers-who-played-a-video-at-least-once/m-p/2945480#M97412</link>
      <description>&lt;P&gt;I am looking through the progression of pages users clicked on within one of our apps. Customers can go backwards in the process and each action has a time stamp. I want to find the percentage of customers who played a protection plan video at least once&lt;/P&gt;&lt;P&gt;ActivityType: page title (can visit the same page more than once) Interested in "Products Presented" (Main protection plan page) and "Product Video Viewed" ConsumerID: customers unique identifier EventDateTime: Timestamp for each page visit&lt;/P&gt;&lt;P&gt;Is there a way to count CustomerId that played at least one video?&lt;/P&gt;&lt;PRE&gt;DistinctCustomersPlayedVideo = 
CALCULATE(
    DISTINCTCOUNT(ConsumerFunnelTime[ConsumerID],
    COUNT(ConsumerFunnelTime[ActivityType] IN {"ProductVideoViewed"} &amp;gt;= 1))
)&lt;/PRE&gt;&lt;P&gt;I can then divide this by the number of distinct customers that made it to the protection page at least once&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2022 21:09:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Finding-Number-of-Customers-who-played-a-video-at-least-once/m-p/2945480#M97412</guid>
      <dc:creator>davidbd</dc:creator>
      <dc:date>2022-12-02T21:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Number of Customers who played a video at least once</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Finding-Number-of-Customers-who-played-a-video-at-least-once/m-p/2945840#M97447</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="481135" data-lia-user-login="davidbd" class="lia-mention lia-mention-user"&gt;davidbd&lt;/a&gt;&amp;nbsp;, usually it's better to provide a small data sample..&lt;/P&gt;&lt;P&gt;Anyway, I'd start from the syntax mistakes:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;DistinctCustomersPlayedVideo =
CALCULATE (
    DISTINCTCOUNT ( ConsumerFunnelTime[ConsumerID] ),
    ConsumerFunnelTime[ActivityType] IN { "ProductVideoViewed" }
)&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 03 Dec 2022 09:10:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Finding-Number-of-Customers-who-played-a-video-at-least-once/m-p/2945840#M97447</guid>
      <dc:creator>ERD</dc:creator>
      <dc:date>2022-12-03T09:10:38Z</dc:date>
    </item>
  </channel>
</rss>

