<?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 Dividing 2 columns of a matrix visual in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dividing-2-columns-of-a-matrix-visual/m-p/1560653#M30987</link>
    <description>&lt;P&gt;Below is matrix visual I have created with no. of req's per person.&lt;/P&gt;&lt;P&gt;(Both Delayed and Ontime are from the same column in the data).&lt;/P&gt;&lt;P&gt;I&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wanted to calculate the TAT% by dividing Delayed requests by total no. of req's. I have created a measure which worked fine and got the correct TAT%. But when i included this measure in the matrix visual, TAT% is showing up for each any every column of the matrix visual. See the below image.&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;Please help me out with this. TAT% should only be visible in grand total column.&lt;/P&gt;</description>
    <pubDate>Sat, 19 Dec 2020 14:11:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-12-19T14:11:54Z</dc:date>
    <item>
      <title>Dividing 2 columns of a matrix visual</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dividing-2-columns-of-a-matrix-visual/m-p/1560653#M30987</link>
      <description>&lt;P&gt;Below is matrix visual I have created with no. of req's per person.&lt;/P&gt;&lt;P&gt;(Both Delayed and Ontime are from the same column in the data).&lt;/P&gt;&lt;P&gt;I&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wanted to calculate the TAT% by dividing Delayed requests by total no. of req's. I have created a measure which worked fine and got the correct TAT%. But when i included this measure in the matrix visual, TAT% is showing up for each any every column of the matrix visual. See the below image.&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;Please help me out with this. TAT% should only be visible in grand total column.&lt;/P&gt;</description>
      <pubDate>Sat, 19 Dec 2020 14:11:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dividing-2-columns-of-a-matrix-visual/m-p/1560653#M30987</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-19T14:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: Dividing 2 columns of a matrix visual</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dividing-2-columns-of-a-matrix-visual/m-p/1560702#M30988</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;As of today, the feature you are looking for is not available in Power BI but it is in Excel with Pivot Tables Sets.&lt;BR /&gt;You can vote for that feature at&amp;nbsp;&lt;A href="https://ideas.powerbi.com/ideas/" target="_blank"&gt;https://ideas.powerbi.com/ideas/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;To solve your problem, you can set it up in table visual. You need to create two additional measures for Delayed and Ontime.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Delayed = CALCULATE( SUM(Table9[TAT]), Table9[Reponse] = "Delayed")
--------------------------------
On Time= CALCULATE( SUM(Table9[TAT]), Table9[Reponse] = "Ontime")
--------------------------------
Delayed % = 
DIVIDE(
    [Delayed],
    CALCULATE( SUM(Table9[TAT]) , ALLSELECTED(Table9))
)&lt;/LI-CODE&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;&amp;nbsp;&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;P&gt;&amp;nbsp;&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;P&gt;________________________&lt;/P&gt;&lt;P&gt;If my answer was helpful, please click &lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&lt;I&gt; to help other members find it useful&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Click on the &lt;STRONG&gt;Thumbs-Up icon &lt;/STRONG&gt;if you like this reply &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A href="https://www.excelfort.com" target="_blank"&gt;&lt;FONT color="blue"&gt;Website&lt;/FONT&gt;&lt;/A&gt; &lt;A href="https://www.youtube.com/channel/UCKwBEguA8IlBubIobaOormg?sub_confirmation=1" target="_blank"&gt;&lt;FONT color="blue"&gt;YouTube&lt;/FONT&gt;&lt;/A&gt;&amp;nbsp; &lt;A href="https://linkedin.com/in/fowmy" target="_blank"&gt;&lt;FONT color="blue"&gt;LinkedIn&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Dec 2020 16:26:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dividing-2-columns-of-a-matrix-visual/m-p/1560702#M30988</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2020-12-19T16:26:31Z</dc:date>
    </item>
  </channel>
</rss>

