<?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: MISSING QUERY FEATURE from Lookup activity in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/MISSING-QUERY-FEATURE-from-Lookup-activity/m-p/3821253#M1986</link>
    <description>&lt;P&gt;I found why the following T-SQL statement was not being processed correctly:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SELECT MAX(stationId)
FROM dbo.EcoCount_Station &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Instead, if you add an alias, like so:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SELECT MAX(stationId) AS result 
FROM dbo.EcoCount_Station &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then it works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the kind of stuff that an intelligent engine can auto add transparently and the user will see the activity work properly.&amp;nbsp; Plus, the GUI could pop up an advisory bubble notifying the user of how to specify the T-SQL statement while at the same time telling the user that it automatically did it for him. Not rocket science.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To be perfectly honest, I am so sick and tired of this BS, always trying to guess how we are supposed to enter config or SQL statements in the GUI.&amp;nbsp; I mean it's mindboggling that we are still at this a year after the so-called GA release of Fabric. And this is just basic functionality we are talking about, not landing a rocket on Mars.&amp;nbsp;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":upside_down_face:"&gt;🙃&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 09 Apr 2024 01:32:53 GMT</pubDate>
    <dc:creator>Element115</dc:creator>
    <dc:date>2024-04-09T01:32:53Z</dc:date>
    <item>
      <title>MISSING QUERY FEATURE from Lookup activity</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/MISSING-QUERY-FEATURE-from-Lookup-activity/m-p/3805802#M1976</link>
      <description>&lt;P&gt;QUESTION:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way, after pointing a pipeline Lookup activity to a lakehouse, to actually query said LH to get back a singleton?&amp;nbsp; For ex:&amp;nbsp; let's say you have a column named INDEX. You want to lookup the maximum INDEX value currently stored in said column.&amp;nbsp; Can you specify the following SQL query?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SELECT MAX([INDEX])&amp;nbsp;&lt;/P&gt;&lt;P&gt;FROM LH.TABLE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't see anything in the Lookup GUI that allows to do this.&amp;nbsp; Is there a way?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ISSUE:&lt;/P&gt;&lt;P&gt;In Azure pipeline, when the Lookup activity references an Azure SQL DB:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-04-02 154004.jpg" style="width: 700px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1071146iBA2427091830090C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-04-02 154004.jpg" alt="Screenshot 2024-04-02 154004.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Fabric, when the Loopup activity references a lakehouse (let's not forget that a LH has a SQL endpoint, therefore...):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-04-02 154007.jpg" style="width: 784px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1071147i7F7922058C2E7AE0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-04-02 154007.jpg" alt="Screenshot 2024-04-02 154007.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So the question is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How are we supposed to lookup anything in a LH table when you we can't even specify a SQL query???&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand a LH and an Azure SQL DB is different, but since a SQL endpoint is provided to query a LH, it stands to reason to find the same feature, ie creating custom SQL queries, in an activity whose name is Lookup.&amp;nbsp; I trust I don't need to belabor the point as it should be self-evident.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 19:50:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/MISSING-QUERY-FEATURE-from-Lookup-activity/m-p/3805802#M1976</guid>
      <dc:creator>Element115</dc:creator>
      <dc:date>2024-04-02T19:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: MISSING QUERY FEATURE from Lookup activity</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/MISSING-QUERY-FEATURE-from-Lookup-activity/m-p/3805846#M1977</link>
      <description>&lt;P&gt;So I just did a test running Lookup with First row unchecked.&amp;nbsp; And it returns 5,000 rows by default all in some kind of arbitrary order.&amp;nbsp; Somebody please explain to me how is that useful?&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 20:21:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/MISSING-QUERY-FEATURE-from-Lookup-activity/m-p/3805846#M1977</guid>
      <dc:creator>Element115</dc:creator>
      <dc:date>2024-04-02T20:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: MISSING QUERY FEATURE from Lookup activity</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/MISSING-QUERY-FEATURE-from-Lookup-activity/m-p/3808091#M1978</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/268213"&gt;@Element115&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Thanks for using Fabric Community.&lt;BR /&gt;At this time, we are reaching out to the internal team to get some help on this .&lt;BR /&gt;We will update you once we hear back from them.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 13:59:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/MISSING-QUERY-FEATURE-from-Lookup-activity/m-p/3808091#M1978</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-04-03T13:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: MISSING QUERY FEATURE from Lookup activity</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/MISSING-QUERY-FEATURE-from-Lookup-activity/m-p/3810541#M1979</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/268213"&gt;@Element115&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;It is confirmed from internal team that it is as per the design.&lt;BR /&gt;&lt;BR /&gt;We're always looking for ways to improve. Appreciate if you could share the feedback on our&amp;nbsp;&lt;A href="https://ideas.fabric.microsoft.com/" target="_blank" rel="noopener"&gt;feedback channel&lt;/A&gt;.&amp;nbsp;Which would be open for the user community to upvote &amp;amp; comment on. This allows our product teams to effectively prioritize your request against our existing feature backlog and gives insight into the potential impact of implementing the suggested feature.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the meantime,&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;if you are looking for a method to query the lakehouse they&amp;nbsp;you can achieve a similar result using a script activity.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Please let me know if you have any further queries.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 11:09:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/MISSING-QUERY-FEATURE-from-Lookup-activity/m-p/3810541#M1979</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-04-04T11:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: MISSING QUERY FEATURE from Lookup activity</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/MISSING-QUERY-FEATURE-from-Lookup-activity/m-p/3811687#M1980</link>
      <description>&lt;P&gt;By design!?!!!!!?????&amp;nbsp; &amp;nbsp;What the hell kind of design is that? Can you please explain what is the intent of a Lookup activity?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 18:10:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/MISSING-QUERY-FEATURE-from-Lookup-activity/m-p/3811687#M1980</guid>
      <dc:creator>Element115</dc:creator>
      <dc:date>2024-04-04T18:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: MISSING QUERY FEATURE from Lookup activity</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/MISSING-QUERY-FEATURE-from-Lookup-activity/m-p/3812522#M1981</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/268213"&gt;@Element115&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Similar to ADF, fabric also has capability to run queries on Azure SQL database connector when we use External Datastore option. Kindly check the below screenshot for reference.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vgchennamsft_0-1712291849346.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1072927i3AF9831C0D7C9900/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vgchennamsft_0-1712291849346.png" alt="vgchennamsft_0-1712291849346.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However , in case you want to query the lakehouse tables, you need to use Script activity. Depending on the connector , features in lookup activity changes . So, kindly consider using Script activity . &lt;BR /&gt;&lt;BR /&gt;Thankyou&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2024 04:37:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/MISSING-QUERY-FEATURE-from-Lookup-activity/m-p/3812522#M1981</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-04-05T04:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: MISSING QUERY FEATURE from Lookup activity</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/MISSING-QUERY-FEATURE-from-Lookup-activity/m-p/3814082#M1982</link>
      <description>&lt;P&gt;Yes, I get all that.&amp;nbsp; However, in Fabric, you have 4 GUIs to interact with a Lakehouse in query mode:&amp;nbsp; notebook, dataflow, lakehouse view, and the SQL Analytics endpoint.&amp;nbsp; It is obvious why the latter is provided as the vast majority of users come with a SQL background. THEREFORE if you tell such a user you can look up records with a Lookup activity, they certainly will expect to see a Query or Stored procedure radio button as you are showing when connecting to an Azure SQL DB.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Whether the source is in the workspace or external should be immaterial.&amp;nbsp; If the source exposes a SQL interface, then logically that interface should be available from anything that has the name 'Lookup.'&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Now, you speak of using the Script activity.&amp;nbsp; What language are these scripts written in?&amp;nbsp; SQL?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2024 16:08:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/MISSING-QUERY-FEATURE-from-Lookup-activity/m-p/3814082#M1982</guid>
      <dc:creator>Element115</dc:creator>
      <dc:date>2024-04-05T16:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: MISSING QUERY FEATURE from Lookup activity</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/MISSING-QUERY-FEATURE-from-Lookup-activity/m-p/3814223#M1983</link>
      <description>&lt;P&gt;I just tried the Script activity and it won't do.&amp;nbsp; Look at this, it only gives me access to the default staging DW.&amp;nbsp; But all my data sits in a lakehouse!&amp;nbsp; It is the LH SQL endpoint I need to query, not a DW.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-04-05 133816.jpg" style="width: 638px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1073328iD965ED531195AAF1/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-04-05 133816.jpg" alt="Screenshot 2024-04-05 133816.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So the Script activity is neither a substitute nor a solution to palliate the shortcomings of the Lookup activity.&amp;nbsp; I guess all that remains is to use a Notebook.&amp;nbsp; Can't wait for the fix.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2024 17:42:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/MISSING-QUERY-FEATURE-from-Lookup-activity/m-p/3814223#M1983</guid>
      <dc:creator>Element115</dc:creator>
      <dc:date>2024-04-05T17:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: MISSING QUERY FEATURE from Lookup activity</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/MISSING-QUERY-FEATURE-from-Lookup-activity/m-p/3820803#M1984</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/268213"&gt;@Element115&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Take the SQL analytics endpoint from the lakehouse to create a new cloud connection - use External as an option and run the query against the cloud connection within the pipeline. Just ran and works.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Steps to connect to Lakehouse Endpoint using Script Activity:&lt;BR /&gt;&lt;BR /&gt;1. Copy the SQL Endpoint from Lakehouse.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vgchennamsft_0-1712604512600.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1074558i44FCAF49BC32C957/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vgchennamsft_0-1712604512600.png" alt="vgchennamsft_0-1712604512600.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;2. In Script, click on External and then Azure SQL Database, fill the details and use Organizational Account to establish connection.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vgchennamsft_1-1712604524834.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1074559i7AE3776F77414C1E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vgchennamsft_1-1712604524834.png" alt="vgchennamsft_1-1712604524834.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;3. Check the connection&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vgchennamsft_2-1712604547304.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1074561i4FDF75DE37926DD6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vgchennamsft_2-1712604547304.png" alt="vgchennamsft_2-1712604547304.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;4. Execute it&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vgchennamsft_3-1712604557926.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1074562i109D6408164388B6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vgchennamsft_3-1712604557926.png" alt="vgchennamsft_3-1712604557926.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Note: Support for SQL endpoint for Lakehouse is in our backlog but I don't have a ETA.&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;Hope this is is helpful. Please let me know incase of further queries.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2024 19:32:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/MISSING-QUERY-FEATURE-from-Lookup-activity/m-p/3820803#M1984</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-04-08T19:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: MISSING QUERY FEATURE from Lookup activity</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/MISSING-QUERY-FEATURE-from-Lookup-activity/m-p/3821203#M1985</link>
      <description>&lt;P&gt;So I tried what you suggested. Unfortunately, it doesn't work when using the following T-SQL statement:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SELECT MAX(stationId) 
FROM dbo.EcoCount_Station&lt;/LI-CODE&gt;&lt;P&gt;and ends with this error:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-04-08 205552.jpg" style="width: 455px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1074664i2B56AFCB38D1F59E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-04-08 205552.jpg" alt="Screenshot 2024-04-08 205552.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If I use this statement instead:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SELECT *
FROM dbo.EcoCount_Station&lt;/LI-CODE&gt;&lt;P&gt;it works, but it is the wrong statement to use for the goal at hand.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I checked that the first statement is OK by running it from the SQL endpoint editor and there was no issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So there is obviously an issue with the Script activity and T-SQL functions such as MAX(), everything else being equal.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So we are back to square one or a PySpark Notebook (which I haven't tried yet, so perhaps even a Notebook won't work).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And honestly, I am getting so tired of doing the beta testing on my own time with no pay for Microsoft's QA/QC team.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2024 01:06:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/MISSING-QUERY-FEATURE-from-Lookup-activity/m-p/3821203#M1985</guid>
      <dc:creator>Element115</dc:creator>
      <dc:date>2024-04-09T01:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: MISSING QUERY FEATURE from Lookup activity</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/MISSING-QUERY-FEATURE-from-Lookup-activity/m-p/3821253#M1986</link>
      <description>&lt;P&gt;I found why the following T-SQL statement was not being processed correctly:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SELECT MAX(stationId)
FROM dbo.EcoCount_Station &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Instead, if you add an alias, like so:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SELECT MAX(stationId) AS result 
FROM dbo.EcoCount_Station &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then it works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the kind of stuff that an intelligent engine can auto add transparently and the user will see the activity work properly.&amp;nbsp; Plus, the GUI could pop up an advisory bubble notifying the user of how to specify the T-SQL statement while at the same time telling the user that it automatically did it for him. Not rocket science.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To be perfectly honest, I am so sick and tired of this BS, always trying to guess how we are supposed to enter config or SQL statements in the GUI.&amp;nbsp; I mean it's mindboggling that we are still at this a year after the so-called GA release of Fabric. And this is just basic functionality we are talking about, not landing a rocket on Mars.&amp;nbsp;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":upside_down_face:"&gt;🙃&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2024 01:32:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/MISSING-QUERY-FEATURE-from-Lookup-activity/m-p/3821253#M1986</guid>
      <dc:creator>Element115</dc:creator>
      <dc:date>2024-04-09T01:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: MISSING QUERY FEATURE from Lookup activity</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/MISSING-QUERY-FEATURE-from-Lookup-activity/m-p/3826787#M1987</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/268213"&gt;@Element115&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vgchennamsft_0-1712744245938.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1075925i2E1FD54B528E1739/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vgchennamsft_0-1712744245938.png" alt="vgchennamsft_0-1712744245938.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;It's expected to have alias so as to get the output as key value pair in json.&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2024 10:18:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/MISSING-QUERY-FEATURE-from-Lookup-activity/m-p/3826787#M1987</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-04-10T10:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: MISSING QUERY FEATURE from Lookup activity</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/MISSING-QUERY-FEATURE-from-Lookup-activity/m-p/3828167#M1988</link>
      <description>&lt;P&gt;Yes, once you know that, seems self-evident.&amp;nbsp; There should be a short 'In a Nutshell' ref website where all this is listed, instead of having to read to 10s and 10s of pages of documentation.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2024 18:16:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/MISSING-QUERY-FEATURE-from-Lookup-activity/m-p/3828167#M1988</guid>
      <dc:creator>Element115</dc:creator>
      <dc:date>2024-04-10T18:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: MISSING QUERY FEATURE from Lookup activity</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/MISSING-QUERY-FEATURE-from-Lookup-activity/m-p/4350510#M5899</link>
      <description>&lt;P&gt;while the issue has been resolved. we got new issue. you need to fix it while deploying lookup activity form dev to stg.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;check this -&amp;nbsp;&lt;A href="https://uselessai.in/microsoft-fabric-interesting-and-hidden-deployment-observations-important-bug-fixes-a87d4c8512db" target="_blank"&gt;https://uselessai.in/microsoft-fabric-interesting-and-hidden-deployment-observations-important-bug-fixes-a87d4c8512db&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;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="uselessai_in_0-1735980378164.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1221984i9BB403F8E4BAFE62/image-size/medium?v=v2&amp;amp;px=400" role="button" title="uselessai_in_0-1735980378164.png" alt="uselessai_in_0-1735980378164.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 04 Jan 2025 08:46:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/MISSING-QUERY-FEATURE-from-Lookup-activity/m-p/4350510#M5899</guid>
      <dc:creator>uselessai_in</dc:creator>
      <dc:date>2025-01-04T08:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: MISSING QUERY FEATURE from Lookup activity</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/MISSING-QUERY-FEATURE-from-Lookup-activity/m-p/4653763#M8605</link>
      <description>&lt;P&gt;Guess what... it is still not fixed. This is the last time I'm working with fabric.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Apr 2025 11:56:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/MISSING-QUERY-FEATURE-from-Lookup-activity/m-p/4653763#M8605</guid>
      <dc:creator>GetBetterSoon</dc:creator>
      <dc:date>2025-04-15T11:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: MISSING QUERY FEATURE from Lookup activity</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/MISSING-QUERY-FEATURE-from-Lookup-activity/m-p/4824869#M12317</link>
      <description>&lt;P&gt;This does not really work for me, it tells me the table does not exist. Any other setting necessary for writing SQL query in the lookup activity?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Sep 2025 21:40:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/MISSING-QUERY-FEATURE-from-Lookup-activity/m-p/4824869#M12317</guid>
      <dc:creator>aquinonez</dc:creator>
      <dc:date>2025-09-12T21:40:13Z</dc:date>
    </item>
  </channel>
</rss>

