<?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: Fabric Warehouse Incorrect Query Results in Data Warehouse</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Fabric-Warehouse-Incorrect-Query-Results/m-p/4987748#M4176</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="290521" data-lia-user-login="mheggie" class="lia-mention lia-mention-user"&gt;mheggie&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Thank you for reaching out to Microsoft Community.&lt;/P&gt;
&lt;P data-start="0" data-end="73"&gt;I recommend reporting the bug using the link below on the MS Fabric Forum.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P data-start="0" data-end="73"&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Issues/idb-p/Issues" target="_blank" rel="noopener"&gt;Issues - Microsoft Fabric Community&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;/P&gt;</description>
    <pubDate>Mon, 02 Feb 2026 07:25:54 GMT</pubDate>
    <dc:creator>v-echaithra</dc:creator>
    <dc:date>2026-02-02T07:25:54Z</dc:date>
    <item>
      <title>Fabric Warehouse Incorrect Query Results</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Fabric-Warehouse-Incorrect-Query-Results/m-p/4970706#M4171</link>
      <description>&lt;P&gt;I'm hoping to get some guidance from the group on where to go with this.&amp;nbsp; I have 2 queries that run in sequence that read from my Fabric data warehouse.&amp;nbsp; The queries are different and should yield different results but when they run, they actually return the same data.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;U&gt;Query #1:&lt;/U&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;DECLARE&lt;/SPAN&gt;&lt;SPAN&gt; @StartingDate &lt;/SPAN&gt;&lt;SPAN&gt;DATE&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;DATEADD&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;YEAR&lt;/SPAN&gt;&lt;SPAN&gt;, -&lt;/SPAN&gt;&lt;SPAN&gt;10&lt;/SPAN&gt;&lt;SPAN&gt;, DATETRUNC(&lt;/SPAN&gt;&lt;SPAN&gt;year&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;GETDATE&lt;/SPAN&gt;&lt;SPAN&gt;()));&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;select&lt;/SPAN&gt;&lt;SPAN&gt; * &lt;/SPAN&gt;&lt;SPAN&gt;from&lt;/SPAN&gt;&lt;SPAN&gt; rpt.vw_DimGLAccount&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;where&lt;/SPAN&gt;&lt;SPAN&gt; [GL Account Key] &lt;/SPAN&gt;&lt;SPAN&gt;in&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;SELECT&lt;/SPAN&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN&gt; F.ExpenseGLAccountKey&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;FROM&lt;/SPAN&gt;&lt;SPAN&gt; gold.FactPayrollHistory F&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&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; &amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;JOIN&lt;/SPAN&gt;&lt;SPAN&gt; gold.DimDate D &lt;/SPAN&gt;&lt;SPAN&gt;ON&lt;/SPAN&gt;&lt;SPAN&gt; F.PeriodEndDateKey = D.DateKey&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;WHERE&lt;/SPAN&gt;&lt;SPAN&gt; D.CalendarDate &amp;gt;= @StartingDate);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Returns 2365 rows as it should&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;U&gt;Query #2:&lt;/U&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;DECLARE&lt;/SPAN&gt;&lt;SPAN&gt; @StartingDate &lt;/SPAN&gt;&lt;SPAN&gt;DATE&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;DATEADD&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;YEAR&lt;/SPAN&gt;&lt;SPAN&gt;, -&lt;/SPAN&gt;&lt;SPAN&gt;10&lt;/SPAN&gt;&lt;SPAN&gt;, DATETRUNC(&lt;/SPAN&gt;&lt;SPAN&gt;year&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;GETDATE&lt;/SPAN&gt;&lt;SPAN&gt;()));&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;select&lt;/SPAN&gt;&lt;SPAN&gt; * &lt;/SPAN&gt;&lt;SPAN&gt;from&lt;/SPAN&gt;&lt;SPAN&gt; rpt.vw_DimGLAccount&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;where&lt;/SPAN&gt;&lt;SPAN&gt; [GL Account Key] &lt;/SPAN&gt;&lt;SPAN&gt;in&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;SELECT&lt;/SPAN&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN&gt; F.LiabilityGLAccountKey&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;FROM&lt;/SPAN&gt;&lt;SPAN&gt; gold.FactPayrollHistory F&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&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; &amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;JOIN&lt;/SPAN&gt;&lt;SPAN&gt; gold.DimDate D &lt;/SPAN&gt;&lt;SPAN&gt;ON&lt;/SPAN&gt;&lt;SPAN&gt; F.PeriodEndDateKey = D.DateKey&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;WHERE&lt;/SPAN&gt;&lt;SPAN&gt; D.CalendarDate &amp;gt;= @StartingDate);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Should return 67 rows but returns the same 2365 rows as the first query.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;If I run these in reverse order, when the second query returns the same results as the first one run.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;It looks like the DW optimizer thinks these 2 queries are the same.&amp;nbsp; It doesn't recognize that the the queries have different column names in the subquery.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I have found a way to work around this specific instance by restructuring one of the queries so it is distinctly different from the other.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;However, I can't guarantee that similar queries like above won't happen.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;This feels like a bug to me.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Have you seen this?&amp;nbsp; Does anyone have any guidance on how things like this can be reported to Microsoft?&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Any thoughts / guidance you can provide is greatly appreciated!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 30 Jan 2026 14:12:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Fabric-Warehouse-Incorrect-Query-Results/m-p/4970706#M4171</guid>
      <dc:creator>mheggie</dc:creator>
      <dc:date>2026-01-30T14:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: Fabric Warehouse Incorrect Query Results</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Fabric-Warehouse-Incorrect-Query-Results/m-p/4987748#M4176</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="290521" data-lia-user-login="mheggie" class="lia-mention lia-mention-user"&gt;mheggie&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Thank you for reaching out to Microsoft Community.&lt;/P&gt;
&lt;P data-start="0" data-end="73"&gt;I recommend reporting the bug using the link below on the MS Fabric Forum.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P data-start="0" data-end="73"&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Issues/idb-p/Issues" target="_blank" rel="noopener"&gt;Issues - Microsoft Fabric Community&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;/P&gt;</description>
      <pubDate>Mon, 02 Feb 2026 07:25:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Fabric-Warehouse-Incorrect-Query-Results/m-p/4987748#M4176</guid>
      <dc:creator>v-echaithra</dc:creator>
      <dc:date>2026-02-02T07:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: Fabric Warehouse Incorrect Query Results</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Fabric-Warehouse-Incorrect-Query-Results/m-p/4996241#M4189</link>
      <description>&lt;P&gt;&lt;FONT size="2"&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="290521" data-lia-user-login="mheggie" class="lia-mention lia-mention-user"&gt;mheggie&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#000000"&gt;Before concluding it an&amp;nbsp;&lt;U&gt;engine bug or caching&lt;/U&gt; issue, I would like to first think purely from a &lt;STRONG&gt;data/query perspective&lt;/STRONG&gt;. If you are only looking at row counts as validation, it is possible that even if there are only 67 distinct liability keys,&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;&lt;FONT color="#993366"&gt; [GL Account Key]&lt;/FONT&gt;&lt;/STRONG&gt; in&lt;/SPAN&gt; &lt;FONT color="#993366"&gt;&lt;STRONG&gt;rpt.vw_DimGLAccount&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;may contain 2,365 rows matching these 67 keys&lt;/STRONG&gt; (given, no DISTINCT is being applied in the outer query).&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#000000"&gt;Another reason could be that&amp;nbsp;&lt;STRONG&gt;&lt;FONT color="#993366"&gt;[&lt;/FONT&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt;&lt;FONT color="#993366"&gt;LiabilityGLAccountKey]&lt;/FONT&gt;&lt;/STRONG&gt; and &lt;FONT color="#993366"&gt;&lt;STRONG&gt;[ExpenseGLAccountKey]&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;contain identical values, or one is a subset of other, over the filtered date range.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#000000"&gt;&lt;SPAN&gt;Could you first verify this, by looking at the actual result sets, rather than relying solely on row counts?&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2026 08:16:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Fabric-Warehouse-Incorrect-Query-Results/m-p/4996241#M4189</guid>
      <dc:creator>stoic-harsh</dc:creator>
      <dc:date>2026-02-05T08:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: Fabric Warehouse Incorrect Query Results</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Fabric-Warehouse-Incorrect-Query-Results/m-p/4999190#M4202</link>
      <description>&lt;P&gt;Thanks for the feedback.&amp;nbsp; I have evaluated the results along with the counts.&amp;nbsp; What I've shared in my post is accurate.&amp;nbsp; I should get 2365 rows returned for one query and 67 for the other.&amp;nbsp; LiabilityGLAccountKey and ExpenseGLAccountKey values are not identical and are not a subset of one another.&amp;nbsp; Liabilities post to a different place in the GL than expenses.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I change the "select *" in each query to a "select count(*)", the numbers returned are correct.&amp;nbsp; When I then change the "count(*)" back to "*", it returns the same result for both.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also ... the process with this logic has been running successfully in production since May 2025.&amp;nbsp; It is only in the last few weeks that this has been a problem.&amp;nbsp; I've tested this with other keys that reference the same dimension and can consistently re-create the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When the second query runs, it notes that it is using cached results.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2026 12:52:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Fabric-Warehouse-Incorrect-Query-Results/m-p/4999190#M4202</guid>
      <dc:creator>mheggie</dc:creator>
      <dc:date>2026-02-06T12:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: Fabric Warehouse Incorrect Query Results</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Fabric-Warehouse-Incorrect-Query-Results/m-p/4999191#M4203</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="290521" data-lia-user-login="mheggie" class="lia-mention lia-mention-user"&gt;mheggie&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is a very strange behavious indeed! Can you try using a WITH clause instead of a IN clause and let me know if you see any difference in the behaviour? Here's one of your query with a WITH clause.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;-- Derive the starting date: first day of the current year minus 10 years
DECLARE @StartingDate DATE = DATEADD(YEAR, -10, DATETRUNC(year, GETDATE()));

WITH PayrollGL AS (
    SELECT DISTINCT F.ExpenseGLAccountKey
    FROM gold.FactPayrollHistory AS F
    JOIN gold.DimDate AS D
      ON F.PeriodEndDateKey = D.DateKey
    WHERE D.CalendarDate &amp;gt;= @StartingDate
)
SELECT a.*
FROM rpt.vw_DimGLAccount AS a
JOIN PayrollGL AS p
  ON a.[GL Account Key] = p.ExpenseGLAccountKey;
 &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2026 12:54:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Fabric-Warehouse-Incorrect-Query-Results/m-p/4999191#M4203</guid>
      <dc:creator>deborshi_nag</dc:creator>
      <dc:date>2026-02-06T12:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: Fabric Warehouse Incorrect Query Results</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Fabric-Warehouse-Incorrect-Query-Results/m-p/4999225#M4204</link>
      <description>&lt;P&gt;Thanks for your suggestion.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tested with your query for both expense and liability and they both return what is expected.&amp;nbsp; I had already worked around this by replacing&amp;nbsp;@StartingDate in the where clause with the expression I was using to calculate it and it works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;select&lt;/SPAN&gt;&lt;SPAN&gt; * &lt;/SPAN&gt;&lt;SPAN&gt;from&lt;/SPAN&gt;&lt;SPAN&gt; rpt.vw_DimGLAccount&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;where&lt;/SPAN&gt;&lt;SPAN&gt; [GL Account Key] &lt;/SPAN&gt;&lt;SPAN&gt;in&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;SELECT&lt;/SPAN&gt;&lt;SPAN&gt; F.ExpenseGLAccountKey&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;FROM&lt;/SPAN&gt;&lt;SPAN&gt; gold.FactPayrollHistory F&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&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; &amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;JOIN&lt;/SPAN&gt;&lt;SPAN&gt; gold.DimDate D &lt;/SPAN&gt;&lt;SPAN&gt;ON&lt;/SPAN&gt;&lt;SPAN&gt; F.PeriodEndDateKey = D.DateKey&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;WHERE&lt;/SPAN&gt;&lt;SPAN&gt; D.CalendarDate &amp;gt;= &lt;/SPAN&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN&gt;DATEADD&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;YEAR&lt;/SPAN&gt;&lt;SPAN&gt;, -&lt;/SPAN&gt;&lt;SPAN&gt;10&lt;/SPAN&gt;&lt;SPAN&gt;, DATETRUNC(&lt;/SPAN&gt;&lt;SPAN&gt;year&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;GETDATE&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN&gt;&lt;FONT color="#FF0000"&gt;()))&lt;/FONT&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;There are definitely some workarounds for this which is why it feels like a bug to me.&amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;The process that uses this has been running&amp;nbsp; successfully in production since May 2025.&amp;nbsp; This issue just appeared in the last few weeks.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 06 Feb 2026 13:29:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Fabric-Warehouse-Incorrect-Query-Results/m-p/4999225#M4204</guid>
      <dc:creator>mheggie</dc:creator>
      <dc:date>2026-02-06T13:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: Fabric Warehouse Incorrect Query Results</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Fabric-Warehouse-Incorrect-Query-Results/m-p/4999289#M4206</link>
      <description>&lt;P&gt;yeah, best to raise a ticket with product support - use the menu above &lt;EM&gt;&lt;STRONG&gt;Support &amp;gt; Product Support &lt;/STRONG&gt;&lt;/EM&gt;to log the new support case&lt;EM&gt;.&amp;nbsp;&lt;/EM&gt;Please make it clear in the ticket that removing the variable StartingDate resolves it; and the issue seems to be happening quite recently.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If my workaround helped please mark it as a solution, so that others in this situation can take advantage of this workaround!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2026 14:20:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Fabric-Warehouse-Incorrect-Query-Results/m-p/4999289#M4206</guid>
      <dc:creator>deborshi_nag</dc:creator>
      <dc:date>2026-02-06T14:20:42Z</dc:date>
    </item>
  </channel>
</rss>

