<?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: Fetch Data from Matched column from Different table without importing complete Table -MySQL in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Fetch-Data-from-Matched-column-from-Different-table-without/m-p/1031613#M3119</link>
    <description>&lt;P&gt;Hello&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best option (and recommended) is to push this type of work as close as possible to the datasource (database here) (for example you could create a view with the same logic and then connect to that view.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this is not possible due to various reasons I would make a query to get the exact output needed for the WHERE CLAUSE (&lt;STRONG&gt;&lt;EM&gt;4001342,4001331,4000123) &lt;/EM&gt;&lt;/STRONG&gt;and then use it "as is" in the second query. Caution: you need to be careful with the data privacy settings.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If you liked my solution please give it a thumbs up &lt;/STRONG&gt;&lt;STRONG&gt;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If I did answer your question please mark my post as a solution &lt;/STRONG&gt;&lt;STRONG&gt;&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt;. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thank you !&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cristian&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Apr 2020 06:46:18 GMT</pubDate>
    <dc:creator>Cristian_Angyal</dc:creator>
    <dc:date>2020-04-17T06:46:18Z</dc:date>
    <item>
      <title>Fetch Data from Matched column from Different table without importing complete Table -MySQL</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Fetch-Data-from-Matched-column-from-Different-table-without/m-p/946547#M3007</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me with this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am importing data from two different table-based on Mysql query, Table-A contains value&amp;nbsp; Eg: &lt;STRONG&gt;order_ids&lt;/STRONG&gt; (Query output)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;power_query:&lt;/STRONG&gt;&amp;nbsp; select order_ids from order_table&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;where order_created_on &amp;gt; current_date()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Output:&amp;nbsp; 4001342,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 4001331,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 4000123&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I want to import data from values corresponding to &lt;STRONG&gt;order_ids&lt;/STRONG&gt;&amp;nbsp; which already imported from Table A&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;**how to use below&amp;nbsp; query in power_bi: (Number vary based on the previous query while running)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;select * from shipments&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;where order_ids in ( 4001342,4001331,4000123)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2020 07:08:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Fetch-Data-from-Matched-column-from-Different-table-without/m-p/946547#M3007</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-25T07:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch Data from Matched column from Different table without importing complete Table -MySQL</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Fetch-Data-from-Matched-column-from-Different-table-without/m-p/1031613#M3119</link>
      <description>&lt;P&gt;Hello&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best option (and recommended) is to push this type of work as close as possible to the datasource (database here) (for example you could create a view with the same logic and then connect to that view.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this is not possible due to various reasons I would make a query to get the exact output needed for the WHERE CLAUSE (&lt;STRONG&gt;&lt;EM&gt;4001342,4001331,4000123) &lt;/EM&gt;&lt;/STRONG&gt;and then use it "as is" in the second query. Caution: you need to be careful with the data privacy settings.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If you liked my solution please give it a thumbs up &lt;/STRONG&gt;&lt;STRONG&gt;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If I did answer your question please mark my post as a solution &lt;/STRONG&gt;&lt;STRONG&gt;&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt;. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thank you !&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cristian&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2020 06:46:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Fetch-Data-from-Matched-column-from-Different-table-without/m-p/1031613#M3119</guid>
      <dc:creator>Cristian_Angyal</dc:creator>
      <dc:date>2020-04-17T06:46:18Z</dc:date>
    </item>
  </channel>
</rss>

