<?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 DAX Fun in Desktop</title>
    <link>https://community.fabric.microsoft.com/t5/Desktop/DAX-Fun/m-p/277403#M123760</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a requirement to create a trend(in %) for the repeat offenders who clicked in campaigns.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eg: A, B, C are three campaigns and are three different tables.There is a column called "Clicked" which has value Yes/No.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My requirement is to show the trend line where&lt;/P&gt;&lt;P&gt;1)the first bar in the trend graph should represent the user clicks from Campaign A. and the value of A should be running total&lt;/P&gt;&lt;P&gt;2)Second bar in the trend graph should represent the user common clicks from A &amp;amp; B and&lt;/P&gt;&lt;P&gt;3) third bar should give thecommon&amp;nbsp; clicks of A&amp;amp;B &amp;amp;C.&lt;/P&gt;&lt;P&gt;so on..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: the percentage of each bar should be individual not the % of grand total.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Say, 2nd bar must be calculated as clicks from A &amp;amp; B divided by total clicks from A..&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried merging the tables, but loosing the data, Please Help!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 13 Oct 2017 01:45:44 GMT</pubDate>
    <dc:creator>Pinky0404</dc:creator>
    <dc:date>2017-10-13T01:45:44Z</dc:date>
    <item>
      <title>DAX Fun</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/DAX-Fun/m-p/277403#M123760</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a requirement to create a trend(in %) for the repeat offenders who clicked in campaigns.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eg: A, B, C are three campaigns and are three different tables.There is a column called "Clicked" which has value Yes/No.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My requirement is to show the trend line where&lt;/P&gt;&lt;P&gt;1)the first bar in the trend graph should represent the user clicks from Campaign A. and the value of A should be running total&lt;/P&gt;&lt;P&gt;2)Second bar in the trend graph should represent the user common clicks from A &amp;amp; B and&lt;/P&gt;&lt;P&gt;3) third bar should give thecommon&amp;nbsp; clicks of A&amp;amp;B &amp;amp;C.&lt;/P&gt;&lt;P&gt;so on..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: the percentage of each bar should be individual not the % of grand total.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Say, 2nd bar must be calculated as clicks from A &amp;amp; B divided by total clicks from A..&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried merging the tables, but loosing the data, Please Help!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2017 01:45:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/DAX-Fun/m-p/277403#M123760</guid>
      <dc:creator>Pinky0404</dc:creator>
      <dc:date>2017-10-13T01:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Fun</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/DAX-Fun/m-p/278547#M124337</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="43825" data-lia-user-login="Pinky0404" class="lia-mention lia-mention-user"&gt;Pinky0404&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a requirement to create a trend(in %) for the repeat offenders who clicked in campaigns.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Eg: A, B, C are three campaigns and are three different tables.There is a column called "Clicked" which has value Yes/No.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My requirement is to show the trend line where&lt;/P&gt;
&lt;P&gt;1)the first bar in the trend graph should represent the user clicks from Campaign A. and the value of A should be running total&lt;/P&gt;
&lt;P&gt;2)Second bar in the trend graph should represent the user common clicks from A &amp;amp; B and&lt;/P&gt;
&lt;P&gt;3) third bar should give thecommon&amp;nbsp; clicks of A&amp;amp;B &amp;amp;C.&lt;/P&gt;
&lt;P&gt;so on..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note: the percentage of each bar should be individual not the % of grand total.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Say, 2nd bar must be calculated as clicks from A &amp;amp; B divided by total clicks from A..&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried merging the tables, but loosing the data, Please Help!!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="43825" data-lia-user-login="Pinky0404" class="lia-mention lia-mention-user"&gt;Pinky0404&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;You may have to create extra auxiliary tables. Could you post sample data of those 3 tables and expected output?&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2017 02:25:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/DAX-Fun/m-p/278547#M124337</guid>
      <dc:creator>Eric_Zhang</dc:creator>
      <dc:date>2017-10-16T02:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Fun</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/DAX-Fun/m-p/279403#M124527</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the sample data set .&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2017 13:05:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/DAX-Fun/m-p/279403#M124527</guid>
      <dc:creator>Pinky0404</dc:creator>
      <dc:date>2017-10-16T13:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Fun</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/DAX-Fun/m-p/289627#M127454</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="43825" data-lia-user-login="Pinky0404" class="lia-mention lia-mention-user"&gt;Pinky0404&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the sample data set .&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="43825" data-lia-user-login="Pinky0404" class="lia-mention lia-mention-user"&gt;Pinky0404&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;You need to union those 3 tables&lt;/P&gt;
&lt;PRE&gt;Surveys = UNION(Survey1,Survey2,Survey3)&lt;/PRE&gt;
&lt;P&gt;Then create measures as&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;perc A &amp;amp; B &amp;amp; C = 
VAR summizedTbl =
    SUMMARIZE (
        FILTER ( Surveys, Surveys[Primary Clicked] = TRUE ),
        Surveys[Email address],
        "CNT", DISTINCTCOUNT ( Surveys[Survey Title] )
    )
RETURN
    DIVIDE (
        COUNTROWS ( FILTER ( summizedTbl, [CNT] = 3 ) ),
        DISTINCTCOUNT ( Surveys[Email address] )
    )



perc A &amp;amp; B = 
VAR summizedTbl =
    SUMMARIZE (
        FILTER ( Surveys, Surveys[Primary Clicked] = TRUE &amp;amp;&amp;amp;(Surveys[Survey Title]="Survey upgrade"||Surveys[Survey Title]="Survey Apple") ),
        Surveys[Email address],
        "CNT", DISTINCTCOUNT ( Surveys[Survey Title] )
    )
RETURN
    DIVIDE (
        COUNTROWS ( FILTER ( summizedTbl, [CNT] = 2 ) ),
        DISTINCTCOUNT ( Surveys[Email address] )
    )



perc A = 
    DIVIDE (
        COUNTROWS ( FILTER ( Surveys, Surveys[Primary Clicked] = TRUE &amp;amp;&amp;amp;(Surveys[Survey Title]="Survey upgrade" ) )),
        DISTINCTCOUNT ( Surveys[Email address] )
    )
&lt;/PRE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See more details in the attached pbix file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2017 07:46:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/DAX-Fun/m-p/289627#M127454</guid>
      <dc:creator>Eric_Zhang</dc:creator>
      <dc:date>2017-10-25T07:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Fun</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/DAX-Fun/m-p/291137#M128248</link>
      <description>&lt;P&gt;Thanks alot.&amp;nbsp; Appreciate your help.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2017 23:37:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/DAX-Fun/m-p/291137#M128248</guid>
      <dc:creator>Pinky0404</dc:creator>
      <dc:date>2017-10-26T23:37:00Z</dc:date>
    </item>
  </channel>
</rss>

