<?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 Compare Current Stock table  against Min and Max Levels table and produce results table in Desktop</title>
    <link>https://community.fabric.microsoft.com/t5/Desktop/Compare-Current-Stock-table-against-Min-and-Max-Levels-table-and/m-p/2383822#M856438</link>
    <description>&lt;P&gt;Hi All, I'm hoping someone can help.&amp;nbsp; Fairly new to this.&amp;nbsp; I have 2 tables.&amp;nbsp; Table 1 has a list of parts, their site locations and then the amount in stock.&amp;nbsp; Table 2 has the minimum stock levels for each of these parts, at each site (As it may vary from site to site) I want to compare table 1 to table 2 and then have a new table that is produced that only shows any of the items that are below their minimum stock level for that particular site.&amp;nbsp; Totally not sure where to start with this and wondered if anyone had any advice or has done anything similar ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Stock Level Table example&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Part Number 1Part DescriptionSite 1 StockSite 2 StockSite 3 Stock&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Part 1&lt;/TD&gt;&lt;TD&gt;Part 1 Description&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Part 2&lt;/TD&gt;&lt;TD&gt;Part 2 Description&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Part 3&lt;/TD&gt;&lt;TD&gt;Part 3 Description&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MSL Table Example&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Part Number 1Part DescriptionSite 1 MSLSite 2 MSLSite 3 MSL&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Part 1&lt;/TD&gt;&lt;TD&gt;Part 1 Description&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Part 2&lt;/TD&gt;&lt;TD&gt;Part 2 Description&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Part 3&lt;/TD&gt;&lt;TD&gt;Part 3 Description&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help massively appreciated&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Amanda&lt;/P&gt;</description>
    <pubDate>Wed, 09 Mar 2022 15:23:22 GMT</pubDate>
    <dc:creator>asmith7</dc:creator>
    <dc:date>2022-03-09T15:23:22Z</dc:date>
    <item>
      <title>Compare Current Stock table  against Min and Max Levels table and produce results table</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Compare-Current-Stock-table-against-Min-and-Max-Levels-table-and/m-p/2383822#M856438</link>
      <description>&lt;P&gt;Hi All, I'm hoping someone can help.&amp;nbsp; Fairly new to this.&amp;nbsp; I have 2 tables.&amp;nbsp; Table 1 has a list of parts, their site locations and then the amount in stock.&amp;nbsp; Table 2 has the minimum stock levels for each of these parts, at each site (As it may vary from site to site) I want to compare table 1 to table 2 and then have a new table that is produced that only shows any of the items that are below their minimum stock level for that particular site.&amp;nbsp; Totally not sure where to start with this and wondered if anyone had any advice or has done anything similar ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Stock Level Table example&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Part Number 1Part DescriptionSite 1 StockSite 2 StockSite 3 Stock&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Part 1&lt;/TD&gt;&lt;TD&gt;Part 1 Description&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Part 2&lt;/TD&gt;&lt;TD&gt;Part 2 Description&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Part 3&lt;/TD&gt;&lt;TD&gt;Part 3 Description&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MSL Table Example&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Part Number 1Part DescriptionSite 1 MSLSite 2 MSLSite 3 MSL&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Part 1&lt;/TD&gt;&lt;TD&gt;Part 1 Description&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Part 2&lt;/TD&gt;&lt;TD&gt;Part 2 Description&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Part 3&lt;/TD&gt;&lt;TD&gt;Part 3 Description&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help massively appreciated&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Amanda&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2022 15:23:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Compare-Current-Stock-table-against-Min-and-Max-Levels-table-and/m-p/2383822#M856438</guid>
      <dc:creator>asmith7</dc:creator>
      <dc:date>2022-03-09T15:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: Compare Current Stock table  against Min and Max Levels table and produce results table</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Compare-Current-Stock-table-against-Min-and-Max-Levels-table-and/m-p/2383933#M856483</link>
      <description>&lt;P&gt;This can all be done in Power Query. If you load each table into Power Query, you can follow these steps&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;rename the Site columns in both tables to just be "Site 1", "Site 2" etc,&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;select the Part number and Part description columns, right-click and choose "Unpivot other columns"&lt;/LI&gt;&lt;LI&gt;rename the new columns as Site and either MLS or StockLevel depending on which table you're in.&lt;/LI&gt;&lt;LI&gt;merge the 2 queries, use ctrl-click to select both the Part Number and Site columns in both tables. only keep the MLS or StockLevel column from the 2nd table&lt;/LI&gt;&lt;LI&gt;add a conditional column called "Below threshold" which returns 1 if the StockLevel column is &amp;lt; the MLS column&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Once you've loaded the data into Power BI you can use the Below Threshold column as a filter to only show Sites and Parts which are below the minimum level&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2022 16:26:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Compare-Current-Stock-table-against-Min-and-Max-Levels-table-and/m-p/2383933#M856483</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2022-03-09T16:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: Compare Current Stock table  against Min and Max Levels table and produce results table</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Compare-Current-Stock-table-against-Min-and-Max-Levels-table-and/m-p/2388829#M857782</link>
      <description>&lt;P&gt;Thank you so much ! Brilliant&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 14:18:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Compare-Current-Stock-table-against-Min-and-Max-Levels-table-and/m-p/2388829#M857782</guid>
      <dc:creator>asmith7</dc:creator>
      <dc:date>2022-03-11T14:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: Compare Current Stock table  against Min and Max Levels table and produce results table</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Compare-Current-Stock-table-against-Min-and-Max-Levels-table-and/m-p/2392858#M858922</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="240987" data-lia-user-login="johnt75" class="lia-mention lia-mention-user"&gt;johnt75&lt;/a&gt;&amp;nbsp;I'm trying to add the conditional column but it is wanting a value rather than referring to the MSL table.&amp;nbsp; Screenshot attached, any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2022 14:59:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Compare-Current-Stock-table-against-Min-and-Max-Levels-table-and/m-p/2392858#M858922</guid>
      <dc:creator>asmith7</dc:creator>
      <dc:date>2022-03-14T14:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: Compare Current Stock table  against Min and Max Levels table and produce results table</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Compare-Current-Stock-table-against-Min-and-Max-Levels-table-and/m-p/2392884#M858931</link>
      <description>&lt;P&gt;did you merge the queries? the merged table should have a column for both stock level and MLS&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2022 15:05:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Compare-Current-Stock-table-against-Min-and-Max-Levels-table-and/m-p/2392884#M858931</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2022-03-14T15:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: Compare Current Stock table  against Min and Max Levels table and produce results table</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Compare-Current-Stock-table-against-Min-and-Max-Levels-table-and/m-p/2394789#M859490</link>
      <description>&lt;P&gt;I did but when merged it just has a column titled table ?&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;</description>
      <pubDate>Tue, 15 Mar 2022 09:42:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Compare-Current-Stock-table-against-Min-and-Max-Levels-table-and/m-p/2394789#M859490</guid>
      <dc:creator>asmith7</dc:creator>
      <dc:date>2022-03-15T09:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: Compare Current Stock table  against Min and Max Levels table and produce results table</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Compare-Current-Stock-table-against-Min-and-Max-Levels-table-and/m-p/2394811#M859499</link>
      <description>&lt;P&gt;You need to click the expand arrows next to the MLS table header, then only choose to keep the columns you need&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2022 09:47:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Compare-Current-Stock-table-against-Min-and-Max-Levels-table-and/m-p/2394811#M859499</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2022-03-15T09:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: Compare Current Stock table  against Min and Max Levels table and produce results table</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Compare-Current-Stock-table-against-Min-and-Max-Levels-table-and/m-p/2394816#M859501</link>
      <description>&lt;P&gt;Apologies, I hadn't expanded the merged query.&amp;nbsp; All sorted now thanks&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2022 09:47:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Compare-Current-Stock-table-against-Min-and-Max-Levels-table-and/m-p/2394816#M859501</guid>
      <dc:creator>asmith7</dc:creator>
      <dc:date>2022-03-15T09:47:45Z</dc:date>
    </item>
  </channel>
</rss>

