<?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 Matrix with % for individual types based on the count of categories in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-Matrix-with-for-individual-types-based-on-the-count-of/m-p/3040800#M104296</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you may place business line at the rows and the sector at the columns of the matrix then place the following measure in the values&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DIVIDE (&lt;/P&gt;
&lt;P&gt;CALCULATE (&lt;/P&gt;
&lt;P&gt;COUNTROWS ( 'Table' ),&lt;/P&gt;
&lt;P&gt;'Table'[Status] = "Won"&lt;/P&gt;
&lt;P&gt;),&lt;/P&gt;
&lt;P&gt;COUNTROWS ( 'Table' )&lt;/P&gt;
&lt;P&gt;)&lt;/P&gt;</description>
    <pubDate>Tue, 24 Jan 2023 15:54:41 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2023-01-24T15:54:41Z</dc:date>
    <item>
      <title>Create a Matrix with % for individual types based on the count of categories</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-Matrix-with-for-individual-types-based-on-the-count-of/m-p/3040261#M104244</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to PowerBI and need your help in calculting the below one's.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The calculations are:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;For Private Sector&lt;/STRONG&gt; -&amp;nbsp;# of 'Private Sector' Proposals Awarded /# of 'Private Sector' Proposals Awarded + # of 'Private Sector' Proposals Rejected + # of 'Private Sector' Proposals Cancelled (%)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;For USG&lt;/STRONG&gt; -&amp;nbsp;# of 'USG' Proposals Awarded /# of USG' Proposals Awarded + # of 'USG' Proposals Rejected + # of 'USG' Proposals Cancelled (%)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;For Total (Column)&lt;/STRONG&gt; -&amp;nbsp;# of 'Private Sector + USG' Proposals Awarded /# of 'Private Sector + USG' Proposals Awarded + # of 'Private Sector + USG' Proposals Rejected + # of 'Private Sector + USG' Proposals Cancelled (%)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;For Total (Row)&lt;/STRONG&gt; - Total # Proposals Awarded (%)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Proposas (Row)&lt;/STRONG&gt; - total count of Proposals for Private Sector, USG (whole number)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#Proposals awarded means - Status = won and Status Reason = Won&lt;/P&gt;&lt;P&gt;#Proposals Rejected mean - Status = Won, Lost and Status Reason = Out-Sold&lt;/P&gt;&lt;P&gt;#Proposals Canceled means - Status = Won, Lost and Status Reason = Canceled&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Private Sector and USG are values in Sector field.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I need to show the count of Proposals (type of Proposal) for every Business Line(Line of Business) based on the above calculations.&amp;nbsp;&lt;/P&gt;&lt;P&gt;if business Line has "Diaspora Engagement" value then i should get the count of proposals based on the above calculations in % for individual Business line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone please help me in this. Please&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in Advance!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 15:13:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-Matrix-with-for-individual-types-based-on-the-count-of/m-p/3040261#M104244</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-25T15:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Matrix with % for individual types based on the count of categories</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-Matrix-with-for-individual-types-based-on-the-count-of/m-p/3040800#M104296</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you may place business line at the rows and the sector at the columns of the matrix then place the following measure in the values&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DIVIDE (&lt;/P&gt;
&lt;P&gt;CALCULATE (&lt;/P&gt;
&lt;P&gt;COUNTROWS ( 'Table' ),&lt;/P&gt;
&lt;P&gt;'Table'[Status] = "Won"&lt;/P&gt;
&lt;P&gt;),&lt;/P&gt;
&lt;P&gt;COUNTROWS ( 'Table' )&lt;/P&gt;
&lt;P&gt;)&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2023 15:54:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-Matrix-with-for-individual-types-based-on-the-count-of/m-p/3040800#M104296</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-01-24T15:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Matrix with % for individual types based on the count of categories</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-Matrix-with-for-individual-types-based-on-the-count-of/m-p/3040950#M104305</link>
      <description>&lt;P&gt;Hi tamerj1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have already placed the Business line in rows and sector in columns. But i have took different measures to calculate the private sector and USG as below given only for Private Sector just to get the correct output: (All are measures only)&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;# of Proposals Awarded_PS&lt;/STRONG&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;COUNT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;v_dyn_opportunity[Lines_of_Business]&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;v_dyn_opportunity&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;v_dyn_opportunity[Sector]&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"Private Sector"&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;v_dyn_opportunity&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;v_dyn_opportunity[Status]&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"Won"&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;v_dyn_opportunity&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;v_dyn_opportunity[Status_Reason]&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"Won"&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;2.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;# of Proposals_WCO_PS&lt;/STRONG&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;COUNT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;v_dyn_opportunity[Lines_of_Business]&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;v_dyn_opportunity&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;v_dyn_opportunity[Sector]&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"Private Sector"&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;v_dyn_opportunity&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;v_dyn_opportunity[Status]&lt;/SPAN&gt; &lt;SPAN&gt;in&lt;/SPAN&gt;&lt;SPAN&gt; {&lt;/SPAN&gt;&lt;SPAN&gt;"Won"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"Lost"&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;v_dyn_opportunity&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;v_dyn_opportunity[Status_Reason]&lt;/SPAN&gt; &lt;SPAN&gt;in&lt;/SPAN&gt;&lt;SPAN&gt; {&lt;/SPAN&gt;&lt;SPAN&gt;"Won"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"Canceled"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"Out-Sold"&lt;/SPAN&gt;&lt;SPAN&gt;}))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;3.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;M_PS&lt;/STRONG&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;[# of Proposals Awarded_PS]&lt;/SPAN&gt;&lt;SPAN&gt;/&lt;/SPAN&gt;&lt;SPAN&gt;[# of Proposals_WCO_PS]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I need to get the below data when i used the above measures but unfortunately i can't get that.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;P&gt;In the above screenshot, the value which is nothing but count of rows for a particular business line 1 must be divided by with the total count of proposals 3 and get the output as 0.33 in M_PS thats the formula i have written but it's not showing 0.33 instead i am seeing 1.00. But in the total i am able to see 0.67 which is sum of 0.33 and o.33. I am not able to see these values&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 24 Jan 2023 16:42:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-Matrix-with-for-individual-types-based-on-the-count-of/m-p/3040950#M104305</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-24T16:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Matrix with % for individual types based on the count of categories</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-Matrix-with-for-individual-types-based-on-the-count-of/m-p/3041012#M104307</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;Please try&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;M_PS =
DIVIDE (
    [# of Proposals Awarded_PS],
    CALCULATE ( [# of Proposals_WCO_PS], ALLSELECTED ( v_dyn_opportunity ) )
)&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 24 Jan 2023 17:13:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-Matrix-with-for-individual-types-based-on-the-count-of/m-p/3041012#M104307</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-01-24T17:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Matrix with % for individual types based on the count of categories</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-Matrix-with-for-individual-types-based-on-the-count-of/m-p/3042007#M104384</link>
      <description>&lt;P&gt;Hi tamerj1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thankyou So much....... It worked!!!!&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;Also can you please help me with the Row Total and Column total and there is another row with Proposals. I am not getting how i should change the calculations for Total column and total row and how to add another row with #proposals? i have mentioned in the first post&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 09:04:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-Matrix-with-for-individual-types-based-on-the-count-of/m-p/3042007#M104384</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-25T09:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Matrix with % for individual types based on the count of categories</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-Matrix-with-for-individual-types-based-on-the-count-of/m-p/3042080#M104390</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;The total number of proposals is just the denominator&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;# of Proposals = 
CALCULATE ( [# of Proposals_WCO_PS], ALLSELECTED ( v_dyn_opportunity ) )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 09:12:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-Matrix-with-for-individual-types-based-on-the-count-of/m-p/3042080#M104390</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-01-25T09:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Matrix with % for individual types based on the count of categories</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-Matrix-with-for-individual-types-based-on-the-count-of/m-p/3042110#M104393</link>
      <description>&lt;P&gt;Hi tamerj1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to know how i can provide calculation for the totals as they are inbuilt and not user editable and also the grand total&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Do you got me? also i am not getting the total for the first row and grand total in the below table. These totals appears directly in matrix&lt;/P&gt;&lt;P&gt;ALso the one in the last row #Proposals how should i add that after the total?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 09:25:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-Matrix-with-for-individual-types-based-on-the-count-of/m-p/3042110#M104393</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-25T09:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Matrix with % for individual types based on the count of categories</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-Matrix-with-for-individual-types-based-on-the-count-of/m-p/3042172#M104398</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;Please try&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;=
SUMX (
    SUMMARIZE ( v_dyn_opportunity[Lines_of_Business], v_dyn_opportunity[Sector] ),
    [Your Measure]
)&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 25 Jan 2023 09:45:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-Matrix-with-for-individual-types-based-on-the-count-of/m-p/3042172#M104398</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-01-25T09:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Matrix with % for individual types based on the count of categories</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-Matrix-with-for-individual-types-based-on-the-count-of/m-p/3042186#M104399</link>
      <description>&lt;P&gt;what Measure should I add in the place of [Your Measure]?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 09:48:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-Matrix-with-for-individual-types-based-on-the-count-of/m-p/3042186#M104399</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-25T09:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Matrix with % for individual types based on the count of categories</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-Matrix-with-for-individual-types-based-on-the-count-of/m-p/3042195#M104400</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;The measure that you are using in this matrix. Then place the new measure instead.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 09:50:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-Matrix-with-for-individual-types-based-on-the-count-of/m-p/3042195#M104400</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-01-25T09:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Matrix with % for individual types based on the count of categories</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-Matrix-with-for-individual-types-based-on-the-count-of/m-p/3042270#M104410</link>
      <description>&lt;P&gt;Sorry i am not getting what you are trying to convey.&amp;nbsp;I have used the below measure for calculating the column total&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;1. # of Proposals_Total_column = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;DIVIDE&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;v_dyn_opportunity&lt;/SPAN&gt;&lt;SPAN&gt;[# of Proposals Awarded_Sum_PS&amp;amp;USG]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;v_dyn_opportunity&lt;/SPAN&gt;&lt;SPAN&gt;[# of Proposals_WRC_Sum_PS&amp;amp;USG]&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;ALLSELECTED&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;v_dyn_opportunity&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;2. summary = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SUMX&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;SUMMARIZE&lt;/SPAN&gt;&lt;SPAN&gt; ( &lt;/SPAN&gt;&lt;SPAN&gt;v_dyn_opportunity&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;v_dyn_opportunity[Lines_of_Business]&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;v_dyn_opportunity[Sector]&lt;/SPAN&gt;&lt;SPAN&gt; ),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;v_dyn_opportunity&lt;/SPAN&gt;&lt;SPAN&gt;[# of Proposals_Total_column]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;and then placed that measure in the above code which you have given but it shows me in this way. I know i am doing it in a wrong way. The values doesn't seem correct.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;The below measure i have used to assign values for the field sector which i have used the values as columns in the matrix :&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;# of Proposals_PS&amp;amp;USG values = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;HASONEVALUE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;v_dyn_opportunity[Sector]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SWITCH&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SELECTEDVALUE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;v_dyn_opportunity[Sector]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"Private Sector"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;[# of Proposals_PS_divide]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"USG"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;[# of Proposals_USG_divide]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;I just need to show the row total and column total and the grand total based on these calculations&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for total column -&lt;/P&gt;&lt;img /&gt;&lt;P&gt;for total row -&amp;nbsp;&lt;/P&gt;&lt;img /&gt;&lt;P&gt;and # proposals row -&amp;nbsp;&lt;/P&gt;&lt;img /&gt;&lt;P&gt;and the grand total&amp;nbsp;&lt;/P&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 25 Jan 2023 10:15:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-Matrix-with-for-individual-types-based-on-the-count-of/m-p/3042270#M104410</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-25T10:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Matrix with % for individual types based on the count of categories</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-Matrix-with-for-individual-types-based-on-the-count-of/m-p/3042291#M104413</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;Can we connect via teams or zoom?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 10:25:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-Matrix-with-for-individual-types-based-on-the-count-of/m-p/3042291#M104413</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-01-25T10:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Matrix with % for individual types based on the count of categories</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-Matrix-with-for-individual-types-based-on-the-count-of/m-p/3042380#M104415</link>
      <description>&lt;P&gt;Sure. But i don't have personal id in teams. Can you send me an invite?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 12:22:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-Matrix-with-for-individual-types-based-on-the-count-of/m-p/3042380#M104415</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-25T12:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Matrix with % for individual types based on the count of categories</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-Matrix-with-for-individual-types-based-on-the-count-of/m-p/3042489#M104425</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;When can we connect please?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 11:57:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-Matrix-with-for-individual-types-based-on-the-count-of/m-p/3042489#M104425</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-25T11:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Matrix with % for individual types based on the count of categories</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-Matrix-with-for-individual-types-based-on-the-count-of/m-p/3042512#M104429</link>
      <description>&lt;P&gt;Now&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 12:05:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-Matrix-with-for-individual-types-based-on-the-count-of/m-p/3042512#M104429</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-01-25T12:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Matrix with % for individual types based on the count of categories</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-Matrix-with-for-individual-types-based-on-the-count-of/m-p/3042592#M104437</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Waiting for you to join&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 12:35:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-Matrix-with-for-individual-types-based-on-the-count-of/m-p/3042592#M104437</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-01-25T12:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Matrix with % for individual types based on the count of categories</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-Matrix-with-for-individual-types-based-on-the-count-of/m-p/3043016#M104468</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have mailed you the data and the formulas.&lt;/P&gt;&lt;P&gt;Thankyou&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 15:00:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-Matrix-with-for-individual-types-based-on-the-count-of/m-p/3043016#M104468</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-25T15:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Matrix with % for individual types based on the count of categories</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-Matrix-with-for-individual-types-based-on-the-count-of/m-p/3055368#M105378</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;How can I provide the color code for blank ones? If there are blanks in the data for Business Lines, will it show 0% in the total?&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;Also as I am using&amp;nbsp;sector fields&amp;nbsp;directly in the column, I can't provide color coding in the conditional formatting tab for individual columns i.e., Private Sector must have one set of color codes and USG must have another set of color codes? How can I achieve this? And when i used COnditional formatting for background colors for the sector field, it's showing the color for #Proposals also like below&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;img /&gt;&lt;P&gt;I want to make the entire #Proposals row background as white and in BOLD and if any of the business lines are blank in Private sector and USG it also must have white background. And if there is data for any of the business lines in Private Sector and USG, then i should apply color coding for that background like if the Private Sectoris in the range :&lt;/P&gt;&lt;P&gt;0% to 20% -&amp;nbsp;"#F16D3D"&lt;/P&gt;&lt;P&gt;21% t0 30% - "#F18C67"&lt;/P&gt;&lt;P&gt;31% to 40% - "#F4B663"&lt;/P&gt;&lt;P&gt;41% to 60% - "#F6DB71"&lt;/P&gt;&lt;P&gt;61% to 70% - "#D9DDA3"&lt;/P&gt;&lt;P&gt;71% to 80% - "#C0D784"&lt;/P&gt;&lt;P&gt;81% to 90% - "#A0D075"&lt;/P&gt;&lt;P&gt;91% to 100% - "#8BB862"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And USG has another different set of color codes for Background&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Please help me out.....&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thankyou!!!&lt;/DIV&gt;</description>
      <pubDate>Wed, 01 Feb 2023 14:14:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-Matrix-with-for-individual-types-based-on-the-count-of/m-p/3055368#M105378</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-01T14:14:21Z</dc:date>
    </item>
  </channel>
</rss>

