<?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: Create a count measure which count rows from multiple tables in my organization data model in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-count-measure-which-count-rows-from-multiple-tables-in/m-p/2330468#M58528</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="356870" data-lia-user-login="haiderAli" class="lia-mention lia-mention-user"&gt;haiderAli&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;According to your description, I create a sample, the formula works when Application ID is filtered.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;I attach my sample below, if you can't post your sample data, could you please modify my sample data to show your problem?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Community Support Team _ kalyj&lt;/P&gt;
&lt;P&gt;If this post&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 10 Feb 2022 09:18:59 GMT</pubDate>
    <dc:creator>v-yanjiang-msft</dc:creator>
    <dc:date>2022-02-10T09:18:59Z</dc:date>
    <item>
      <title>Create a count measure which count rows from multiple tables in my organization data model</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-count-measure-which-count-rows-from-multiple-tables-in/m-p/2319101#M57876</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;Can any body please help me with that?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Query: I want to create a measure to show me count of applications id which I will display on card. Applications id are column in dim application table. We have another column security_scheme_id in applications table which is the security scheme for application. Another table which is not directly related to applications table but has connection through another tables in a model which has columns like summary and detail. If I use that column in my visual table then it filters out applicatoins id. So I want to count the number of applicatoins id based on each user credentials which is already in master security table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Approach1: We can create measure which gives me a join b/w two tables that is security and dim applications but it should be right join as we want all applications id associated with the user security.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Approach 2: Count the visual table that takes fields from two tables but I am not sure how to convert visual table in my model?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Limitation :I am using company data model so would'nt be able to add a table/column.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Feb 2022 05:41:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-count-measure-which-count-rows-from-multiple-tables-in/m-p/2319101#M57876</guid>
      <dc:creator>haiderAli</dc:creator>
      <dc:date>2022-02-04T05:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: Create a count measure which count rows from multiple tables in my organization data model</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-count-measure-which-count-rows-from-multiple-tables-in/m-p/2319154#M57881</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;You can use COUNTROWS and INTERSECT to achieve this. But since you have the option to filter the security group we only need a simple countrows. So something like this: COUNTROWS(VALUES(Table[ApplicationID]))&lt;BR /&gt;&lt;BR /&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!&lt;BR /&gt;&lt;BR /&gt;My LinkedIn: &lt;A href="https://www.linkedin.com/in/n%C3%A4ttiahov-00001/" target="_blank"&gt;https://www.linkedin.com/in/n%C3%A4ttiahov-00001/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Feb 2022 06:35:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-count-measure-which-count-rows-from-multiple-tables-in/m-p/2319154#M57881</guid>
      <dc:creator>ValtteriN</dc:creator>
      <dc:date>2022-02-04T06:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: Create a count measure which count rows from multiple tables in my organization data model</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-count-measure-which-count-rows-from-multiple-tables-in/m-p/2319996#M57927</link>
      <description>&lt;P&gt;Hi Valtterin,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you soo much for your response. Unfortunately its not solving my problem. I have tried it but its showing me count of applications id even when I am applying filter for another user which has access to only one application. FYR I have attach SC : ( Its showing 19 applications which are total number of applications present in application table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Feb 2022 14:27:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-count-measure-which-count-rows-from-multiple-tables-in/m-p/2319996#M57927</guid>
      <dc:creator>haiderAli</dc:creator>
      <dc:date>2022-02-04T14:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: Create a count measure which count rows from multiple tables in my organization data model</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-count-measure-which-count-rows-from-multiple-tables-in/m-p/2330468#M58528</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="356870" data-lia-user-login="haiderAli" class="lia-mention lia-mention-user"&gt;haiderAli&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;According to your description, I create a sample, the formula works when Application ID is filtered.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;I attach my sample below, if you can't post your sample data, could you please modify my sample data to show your problem?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Community Support Team _ kalyj&lt;/P&gt;
&lt;P&gt;If this post&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Feb 2022 09:18:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-count-measure-which-count-rows-from-multiple-tables-in/m-p/2330468#M58528</guid>
      <dc:creator>v-yanjiang-msft</dc:creator>
      <dc:date>2022-02-10T09:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: Create a count measure which count rows from multiple tables in my organization data model</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-count-measure-which-count-rows-from-multiple-tables-in/m-p/2332146#M58637</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="334520" data-lia-user-login="v-yanjiang-msft" class="lia-mention lia-mention-user"&gt;v-yanjiang-msft&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for you response.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have modified your sample data based on my problem. I hope you will understand my issue which I am currently facing. I haven't filled the security table but modified the data model and add all the columns that we have. Moreover, I want to display no of applications based on user account (SAM_ACCOUNT_ID) which I have applied filter on all the pages.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial black,avant garde"&gt;If a user has access to 16 applications, He should be able to see no of applications 16 not 19.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please send me your email address and I will share the update version of sample as I don't have option to attach the pbix file on this post as I am a new user.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Feb 2022 02:57:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-count-measure-which-count-rows-from-multiple-tables-in/m-p/2332146#M58637</guid>
      <dc:creator>haiderAli</dc:creator>
      <dc:date>2022-02-11T02:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: Create a count measure which count rows from multiple tables in my organization data model</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-count-measure-which-count-rows-from-multiple-tables-in/m-p/2349698#M59599</link>
      <description>&lt;P&gt;Hi all, thanks for your responses. I have find a way for solving this problem by creating measure.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Count_Application = &lt;/SPAN&gt;&lt;SPAN&gt;"Total number of Applications: "&lt;/SPAN&gt;&lt;SPAN&gt; &amp;amp; &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;distinctcount&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Dim Application'[Application_ID]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Security&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;Security[IsSummaryAllowed]&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;Thanks everyone for posting answers on my query.&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 21 Feb 2022 02:02:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-count-measure-which-count-rows-from-multiple-tables-in/m-p/2349698#M59599</guid>
      <dc:creator>haiderAli</dc:creator>
      <dc:date>2022-02-21T02:02:02Z</dc:date>
    </item>
  </channel>
</rss>

