<?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: Calculating/Dividing Two Pivot Tables in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Dividing-Two-Pivot-Tables/m-p/1858827#M39821</link>
    <description>&lt;P&gt;I believe the relationships are active?&lt;/P&gt;</description>
    <pubDate>Sun, 23 May 2021 17:08:06 GMT</pubDate>
    <dc:creator>Yrstruly2021</dc:creator>
    <dc:date>2021-05-23T17:08:06Z</dc:date>
    <item>
      <title>Calculating/Dividing Two Pivot Tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Dividing-Two-Pivot-Tables/m-p/1743512#M36237</link>
      <description>&lt;P&gt;I am using excel to create pivot tables and than divide the tableIs to get desired outcome. See:&amp;nbsp;&lt;A href="https://drive.google.com/file/d/1jL4vNdBxAi0LPigy3iaQ-iGFzHiMPaBA/view?usp=sharing" target="_blank" rel="noopener"&gt;https://drive.google.com/file/d/1jL4vNdBxAi0LPigy3iaQ-iGFzHiMPaBA/view?usp=sharing&lt;/A&gt;&amp;nbsp;and&amp;nbsp;&lt;A href="https://drive.google.com/file/d/1dwPDuuOju7nbLyDVa5njvLObCqviJa3Z/view?usp=sharing" target="_blank" rel="noopener"&gt;https://drive.google.com/file/d/1dwPDuuOju7nbLyDVa5njvLObCqviJa3Z/view?usp=sharing&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These questions:&amp;nbsp;&lt;A href="https://drive.google.com/file/d/1dwPDuuOju7nbLyDVa5njvLObCqviJa3Z/view?usp=sharing" target="_blank" rel="noopener"&gt;https://drive.google.com/file/d/1dwPDuuOju7nbLyDVa5njvLObCqviJa3Z/view?usp=sharing&lt;/A&gt;&lt;/P&gt;&lt;P&gt;i am answering in Excel currently. I would like to answer them in Powerbi. Please assist?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SQL i am using in Powerbi, to pull in the desired tables:&amp;nbsp;&lt;/P&gt;&lt;P&gt;# App Filter Categories&lt;BR /&gt;select a.label as 'App Category'&lt;BR /&gt;, b.label as 'Menu'&lt;BR /&gt;, c.product_uid as 'Product UID'&lt;BR /&gt;from app_menu_filters a&lt;BR /&gt;left join app_menu_filters b on b.parent_uid=a.uid&lt;BR /&gt;left join app_menu_filter_products c on b.uid=c.app_menu_filter_uid&lt;BR /&gt;where a.status='A' and a.level=1&lt;BR /&gt;order by 1,2,3;&lt;/P&gt;&lt;P&gt;# Sales and Product Data&lt;BR /&gt;SELECT date(o.created_datetime) as Date, od.product_uid as 'Product UID',&lt;BR /&gt;p.manufacturer Manufacturer, p.bmc BMC, p.brand Brand, od.label as SKUs, p.selling_unit as 'Unit of Measure',&lt;BR /&gt;ROUND(if(od.amended_quantity is not null, od.amended_quantity, od.quantity)) as 'Units Sold',&lt;BR /&gt;ROUND((if(od.amended_quantity IS NOT NULL, od.amended_quantity, od.quantity))*p.content,2) as 'Sales Volume',&lt;BR /&gt;ROUND((if(od.amended_quantity is not null, od.amended_quantity, od.quantity))*od.price,2) as 'Sales Value'&lt;BR /&gt;FROM order_detail od&lt;BR /&gt;left join `order` o on od.order_uid=o.uid&lt;BR /&gt;left join product p on od.product_uid=p.uid&lt;BR /&gt;where o.status in ('D',1,2,3,4,5)&lt;BR /&gt;and not od.label ='Plastic Bag'&lt;BR /&gt;and date(o.created_datetime) &amp;gt;= '2020-04-01'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please see data in access:&amp;nbsp;&amp;nbsp;&lt;A href="https://drive.google.com/file/d/1zqSbAvESHf5WUw4U-OKXjL_9E8NbJTfd/view?usp=sharing" target="_blank" rel="noopener"&gt;https://drive.google.com/file/d/1zqSbAvESHf5WUw4U-OKXjL_9E8NbJTfd/view?usp=sharing&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Please see data in excel:&amp;nbsp;&lt;A href="https://drive.google.com/drive/folders/1jUFHVlGZsHNdE6H0TuB2FI6c19Up52eR?usp=sharing" target="_blank" rel="noopener"&gt;https://drive.google.com/drive/folders/1jUFHVlGZsHNdE6H0TuB2FI6c19Up52eR?usp=sharing&lt;/A&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>Wed, 24 Mar 2021 18:08:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Dividing-Two-Pivot-Tables/m-p/1743512#M36237</guid>
      <dc:creator>Yrstruly2021</dc:creator>
      <dc:date>2021-03-24T18:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating/Dividing Two Pivot Tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Dividing-Two-Pivot-Tables/m-p/1769709#M36992</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="289633" data-lia-user-login="Yrstruly2021" class="lia-mention lia-mention-user"&gt;Yrstruly2021&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Goggle Drive link is asking for access.&lt;BR /&gt;Can you share it properly?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 10:52:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Dividing-Two-Pivot-Tables/m-p/1769709#M36992</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-04-06T10:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating/Dividing Two Pivot Tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Dividing-Two-Pivot-Tables/m-p/1770846#M37049</link>
      <description>&lt;P&gt;&lt;A href="https://drive.google.com/file/d/186vsjbqclSXB4m5LGwdp3agMQ6-63LDs/view?usp=sharing" target="_blank"&gt;https://drive.google.com/file/d/186vsjbqclSXB4m5LGwdp3agMQ6-63LDs/view?usp=sharing&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 22:11:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Dividing-Two-Pivot-Tables/m-p/1770846#M37049</guid>
      <dc:creator>Yrstruly2021</dc:creator>
      <dc:date>2021-04-06T22:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating/Dividing Two Pivot Tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Dividing-Two-Pivot-Tables/m-p/1771188#M37061</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="289633" data-lia-user-login="Yrstruly2021" class="lia-mention lia-mention-user"&gt;Yrstruly2021&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Please make an active relationship and keep the cross filter direction to "Single". Sheet 3 should filter Sheet 1.&lt;BR /&gt;If you didn't get as expected then please share the expected output.&lt;BR /&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 04:46:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Dividing-Two-Pivot-Tables/m-p/1771188#M37061</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-04-07T04:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating/Dividing Two Pivot Tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Dividing-Two-Pivot-Tables/m-p/1844318#M39361</link>
      <description>&lt;P&gt;Please see PBIX file. I need to calculate the two, app category and manufacturers.&lt;/P&gt;&lt;P&gt;&lt;A href="https://drive.google.com/file/d/1Bb_UPIws52ZcY_SpcsLXcEJMdZfp5t7k/view?usp=sharing" target="_self"&gt;https://drive.google.com/file/d/1Bb_UPIws52ZcY_SpcsLXcEJMdZfp5t7k/view?usp=sharing&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 16 May 2021 10:05:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Dividing-Two-Pivot-Tables/m-p/1844318#M39361</guid>
      <dc:creator>Yrstruly2021</dc:creator>
      <dc:date>2021-05-16T10:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating/Dividing Two Pivot Tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Dividing-Two-Pivot-Tables/m-p/1844345#M39364</link>
      <description>&lt;P&gt;Thank you. It should be working now.&lt;/P&gt;</description>
      <pubDate>Sun, 16 May 2021 10:52:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Dividing-Two-Pivot-Tables/m-p/1844345#M39364</guid>
      <dc:creator>Yrstruly2021</dc:creator>
      <dc:date>2021-05-16T10:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating/Dividing Two Pivot Tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Dividing-Two-Pivot-Tables/m-p/1851060#M39550</link>
      <description>&lt;P&gt;It is active within the pbix.&lt;/P&gt;</description>
      <pubDate>Wed, 19 May 2021 10:25:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Dividing-Two-Pivot-Tables/m-p/1851060#M39550</guid>
      <dc:creator>Yrstruly2021</dc:creator>
      <dc:date>2021-05-19T10:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating/Dividing Two Pivot Tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Dividing-Two-Pivot-Tables/m-p/1858827#M39821</link>
      <description>&lt;P&gt;I believe the relationships are active?&lt;/P&gt;</description>
      <pubDate>Sun, 23 May 2021 17:08:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Dividing-Two-Pivot-Tables/m-p/1858827#M39821</guid>
      <dc:creator>Yrstruly2021</dc:creator>
      <dc:date>2021-05-23T17:08:06Z</dc:date>
    </item>
  </channel>
</rss>

