<?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: Percent usage in matrix type table in Power BI. in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Percent-usage-in-matrix-type-table-in-Power-BI/m-p/3106965#M109561</link>
    <description>&lt;P&gt;hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try like:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;% Share Underlines = 
DIVIDE(
    [Sales Qty Weight KG], 
    CALCULATE(
        [Sale Qty Weight KG], 
        ALLSELECTED('Item'[Description])
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tried to simulate your case. Supposing your table looks like:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;then try to plot the matrix with a measure like:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;%Share = 
DIVIDE(
    SUM(TableName[Qty]), 
    CALCULATE(
        SUM(TableName[Qty]), 
        ALLSELECTED(TableName[Description])
    )
)&lt;/LI-CODE&gt;&lt;P&gt;it worked like:&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>Thu, 02 Mar 2023 02:35:56 GMT</pubDate>
    <dc:creator>FreemanZ</dc:creator>
    <dc:date>2023-03-02T02:35:56Z</dc:date>
    <item>
      <title>Percent usage in matrix type table in Power BI.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Percent-usage-in-matrix-type-table-in-Power-BI/m-p/3106366#M109504</link>
      <description>&lt;P&gt;I am in doubt as to how to perform percentages when I go to the next level of drill down in my matrix, the first line was ok, but when I go down the level, 100% is displayed in all data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My base formula is:&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;Total Sales Underline = CALCULATE([Sale Qty Weight KG], ALLSELECTED('Item'[Underline - Name]))&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;SPAN&gt;% Share Underlines = DIVIDE([Sales Qty Weight KG], [Total Sales Underlines])&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&amp;nbsp;&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;&lt;SPAN&gt;but there are other levels that need the percentage. Can someone help me?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;how I use the other lines, like:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;Item [Group - Name]&lt;BR /&gt;Item - Description [Description]&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&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;</description>
      <pubDate>Wed, 01 Mar 2023 17:52:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Percent-usage-in-matrix-type-table-in-Power-BI/m-p/3106366#M109504</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-01T17:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: Percent usage in matrix type table in Power BI.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Percent-usage-in-matrix-type-table-in-Power-BI/m-p/3106447#M109515</link>
      <description>&lt;P&gt;What happended when you add&amp;nbsp;&lt;SPAN&gt;Item [Group - Name]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Item - Description [Description] &amp;nbsp;in the this statement? Like;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;ALLSELECTED('Item'[Underline - Name],&lt;SPAN&gt;Item [Group - Name]&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 18:33:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Percent-usage-in-matrix-type-table-in-Power-BI/m-p/3106447#M109515</guid>
      <dc:creator>andhiii079845</dc:creator>
      <dc:date>2023-03-01T18:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: Percent usage in matrix type table in Power BI.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Percent-usage-in-matrix-type-table-in-Power-BI/m-p/3106965#M109561</link>
      <description>&lt;P&gt;hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try like:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;% Share Underlines = 
DIVIDE(
    [Sales Qty Weight KG], 
    CALCULATE(
        [Sale Qty Weight KG], 
        ALLSELECTED('Item'[Description])
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tried to simulate your case. Supposing your table looks like:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;then try to plot the matrix with a measure like:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;%Share = 
DIVIDE(
    SUM(TableName[Qty]), 
    CALCULATE(
        SUM(TableName[Qty]), 
        ALLSELECTED(TableName[Description])
    )
)&lt;/LI-CODE&gt;&lt;P&gt;it worked like:&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>Thu, 02 Mar 2023 02:35:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Percent-usage-in-matrix-type-table-in-Power-BI/m-p/3106965#M109561</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-03-02T02:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: Percent usage in matrix type table in Power BI.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Percent-usage-in-matrix-type-table-in-Power-BI/m-p/3107581#M109637</link>
      <description>&lt;P&gt;Good morning,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It worked, thank you very much!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this case, I used the formula as:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;% Participation Underlines = DIVIDE(
    [Sale Qty Weight KG],
     CALCULATE([Sale Qty Weight KG],
     ALLSELECTED('Item - Description'[Item - Description]), ALLSELECTED('Item'[Group - Name]), ALLSELECTED('Item'[Underline - Name])
))&lt;/SPAN&gt;&lt;/PRE&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;</description>
      <pubDate>Thu, 02 Mar 2023 10:32:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Percent-usage-in-matrix-type-table-in-Power-BI/m-p/3107581#M109637</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-02T10:32:06Z</dc:date>
    </item>
  </channel>
</rss>

