<?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 MashupException.Error while trying to load incremental data by DateTime field in Dataflow</title>
    <link>https://community.fabric.microsoft.com/t5/Dataflow/MashupException-Error-while-trying-to-load-incremental-data-by/m-p/3939321#M3003</link>
    <description>&lt;P&gt;I am currently trying to follow the suggested approach here:&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-factory/tutorial-setup-incremental-refresh-with-dataflows-gen2" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/fabric/data-factory/tutorial-setup-incremental-refresh-with-dataflows-gen2&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did an intial load to my table, which now contains ~ 600 records; I set up another Dataflow Gen 2, as you can see in this screenshot:&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="sebastianriemer_0-1716374208112.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1103065i9A43B8A56B2CA60F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sebastianriemer_0-1716374208112.png" alt="sebastianriemer_0-1716374208112.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In this first step, I calculate the value I want to use as "watermark", and since I do not have a constantly-incrementing-integer-ID, I opt to use a Date-Time column "&lt;SPAN&gt;CLVLMDATE";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As you can see, I get a value back in the preview - that's good.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sebastianriemer_1-1716374362264.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1103067iFAAA5D16C986EFB9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sebastianriemer_1-1716374362264.png" alt="sebastianriemer_1-1716374362264.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I also get data back, in the step 2, which actually uses the output-value from before - that's also good&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using the "Append" method, I then "Publish" my Dataflow Gen2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But then, I get this error result:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sebastianriemer_2-1716374487295.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1103070iCA30E6DA3107E9FB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sebastianriemer_2-1716374487295.png" alt="sebastianriemer_2-1716374487295.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sebastianriemer_3-1716374542129.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1103071i0146E27D4BB81C3B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sebastianriemer_3-1716374542129.png" alt="sebastianriemer_3-1716374542129.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suspect, that there is some syntactical issue when the Dataflow Steps are combined in that Mashup Syntax?&lt;/P&gt;&lt;P&gt;Maybe there is some CAST, or CONVERT which I could introduce, so the Dataflow executes successfully in the end?&lt;/P&gt;&lt;P&gt;Can somebody elaborate a little bit on that Mashup? I guess this has to do with combining different data locations, i.e. here this would be my on-premise-oracle-database and my lakehouse.&lt;/P&gt;&lt;P&gt;Isn't it unfortunate, that in the power query assistant preview, everything seems to run perfectly, but when published the dataflow runs in an error?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here I have put in the error message in plain-text for your viewing convenience.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;HALL_BI_CUSLOADPROFILEVALUES: Error Code: Mashup Exception Expression Error, Error Details: Couldn't refresh the entity because of an issue with the mashup document MashupException.Error: Fehler beim Einfügen einer Tabelle., InnerException: Der Operator "&amp;lt;" kann nicht auf die Typen "Table" und "DateTime" angewendet werden., Zugrunde liegender Fehler: Der Operator "&amp;lt;" kann nicht auf die Typen "Table" und "DateTime" angewendet werden. Details: Reason = Expression.Error;Message = Der Operator "&amp;lt;" kann nicht auf die Typen "Table" und "DateTime" angewendet werden.;Detail = [Operator = "&amp;lt;", Left = error "Microsoft.Mashup.Engine1.Runtime.ValueException: [Expression.Error] Es wurde kein Wert angegeben.#(cr)#(lf) bei Microsoft.Mashup.Engine1.Language.ValueCreator.CreateValueForThrow(IThrowExpression throwExpr)#(cr)#(lf) bei Microsoft.Mashup.Engine1.Language.ValueCreator.&amp;lt;&amp;gt;c__DisplayClass23_0.&amp;lt;CreateValueForRecord&amp;gt;b__0(Int32 index)#(cr)#(lf) bei Microsoft.Mashup.Engine1.Runtime.RecordValue.DemandRecordValue.get_Item(Int32 index)#(cr)#(lf) bei Microsoft.Data.Mashup.ProviderCommon.MashupResource.TryGetValue(Func`1 getValue, IValue&amp;amp; value, String&amp;amp; errorMessage)#(cr)#(lf)Record", Right = #datetime(2006, 2, 21, 10, 1, 9)];Message.Format = Der Operator "#{0}" kann nicht auf die Typen "#{1}" und "#{2}" angewendet werden.;Message.Parameters = {"&amp;lt;", "Table", "DateTime"};Microsoft.Data.Mashup.Error.Context = User GatewayObjectId: 8337=========459a2e (Request ID: f92=========a87).&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 22 May 2024 10:47:26 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-05-22T10:47:26Z</dc:date>
    <item>
      <title>MashupException.Error while trying to load incremental data by DateTime field</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/MashupException-Error-while-trying-to-load-incremental-data-by/m-p/3939321#M3003</link>
      <description>&lt;P&gt;I am currently trying to follow the suggested approach here:&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-factory/tutorial-setup-incremental-refresh-with-dataflows-gen2" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/fabric/data-factory/tutorial-setup-incremental-refresh-with-dataflows-gen2&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did an intial load to my table, which now contains ~ 600 records; I set up another Dataflow Gen 2, as you can see in this screenshot:&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="sebastianriemer_0-1716374208112.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1103065i9A43B8A56B2CA60F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sebastianriemer_0-1716374208112.png" alt="sebastianriemer_0-1716374208112.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In this first step, I calculate the value I want to use as "watermark", and since I do not have a constantly-incrementing-integer-ID, I opt to use a Date-Time column "&lt;SPAN&gt;CLVLMDATE";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As you can see, I get a value back in the preview - that's good.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sebastianriemer_1-1716374362264.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1103067iFAAA5D16C986EFB9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sebastianriemer_1-1716374362264.png" alt="sebastianriemer_1-1716374362264.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I also get data back, in the step 2, which actually uses the output-value from before - that's also good&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using the "Append" method, I then "Publish" my Dataflow Gen2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But then, I get this error result:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sebastianriemer_2-1716374487295.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1103070iCA30E6DA3107E9FB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sebastianriemer_2-1716374487295.png" alt="sebastianriemer_2-1716374487295.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sebastianriemer_3-1716374542129.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1103071i0146E27D4BB81C3B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sebastianriemer_3-1716374542129.png" alt="sebastianriemer_3-1716374542129.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suspect, that there is some syntactical issue when the Dataflow Steps are combined in that Mashup Syntax?&lt;/P&gt;&lt;P&gt;Maybe there is some CAST, or CONVERT which I could introduce, so the Dataflow executes successfully in the end?&lt;/P&gt;&lt;P&gt;Can somebody elaborate a little bit on that Mashup? I guess this has to do with combining different data locations, i.e. here this would be my on-premise-oracle-database and my lakehouse.&lt;/P&gt;&lt;P&gt;Isn't it unfortunate, that in the power query assistant preview, everything seems to run perfectly, but when published the dataflow runs in an error?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here I have put in the error message in plain-text for your viewing convenience.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;HALL_BI_CUSLOADPROFILEVALUES: Error Code: Mashup Exception Expression Error, Error Details: Couldn't refresh the entity because of an issue with the mashup document MashupException.Error: Fehler beim Einfügen einer Tabelle., InnerException: Der Operator "&amp;lt;" kann nicht auf die Typen "Table" und "DateTime" angewendet werden., Zugrunde liegender Fehler: Der Operator "&amp;lt;" kann nicht auf die Typen "Table" und "DateTime" angewendet werden. Details: Reason = Expression.Error;Message = Der Operator "&amp;lt;" kann nicht auf die Typen "Table" und "DateTime" angewendet werden.;Detail = [Operator = "&amp;lt;", Left = error "Microsoft.Mashup.Engine1.Runtime.ValueException: [Expression.Error] Es wurde kein Wert angegeben.#(cr)#(lf) bei Microsoft.Mashup.Engine1.Language.ValueCreator.CreateValueForThrow(IThrowExpression throwExpr)#(cr)#(lf) bei Microsoft.Mashup.Engine1.Language.ValueCreator.&amp;lt;&amp;gt;c__DisplayClass23_0.&amp;lt;CreateValueForRecord&amp;gt;b__0(Int32 index)#(cr)#(lf) bei Microsoft.Mashup.Engine1.Runtime.RecordValue.DemandRecordValue.get_Item(Int32 index)#(cr)#(lf) bei Microsoft.Data.Mashup.ProviderCommon.MashupResource.TryGetValue(Func`1 getValue, IValue&amp;amp; value, String&amp;amp; errorMessage)#(cr)#(lf)Record", Right = #datetime(2006, 2, 21, 10, 1, 9)];Message.Format = Der Operator "#{0}" kann nicht auf die Typen "#{1}" und "#{2}" angewendet werden.;Message.Parameters = {"&amp;lt;", "Table", "DateTime"};Microsoft.Data.Mashup.Error.Context = User GatewayObjectId: 8337=========459a2e (Request ID: f92=========a87).&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2024 10:47:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/MashupException-Error-while-trying-to-load-incremental-data-by/m-p/3939321#M3003</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-05-22T10:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: MashupException.Error while trying to load incremental data by DateTime field</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/MashupException-Error-while-trying-to-load-incremental-data-by/m-p/3940036#M3006</link>
      <description>&lt;P&gt;Hey there! I am the PM that wrote the guide on how to do this. This is a great way to amass your data incrementally and using the date field makes sense!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I noticed is that you still have the first query that retrieves the timestamp with staging enabled. Can you try to disable the staging on the query that retrieves the timestamp?&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="LuitwielerMSFT_0-1716386092153.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1103236i9262AA4A75B0B8D0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LuitwielerMSFT_0-1716386092153.png" alt="LuitwielerMSFT_0-1716386092153.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;additionally I noticed you used the the first row from the output as getting the latest timestamp. Could you consider using this function instead? It is a bit simpler and cleaner.&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="LuitwielerMSFT_2-1716386562713.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1103247i0829A2E9393EBDCB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LuitwielerMSFT_2-1716386562713.png" alt="LuitwielerMSFT_2-1716386562713.png" /&gt;&lt;/span&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, 22 May 2024 14:03:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/MashupException-Error-while-trying-to-load-incremental-data-by/m-p/3940036#M3006</guid>
      <dc:creator>LuitwielerMSFT</dc:creator>
      <dc:date>2024-05-22T14:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: MashupException.Error while trying to load incremental data by DateTime field</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/MashupException-Error-while-trying-to-load-incremental-data-by/m-p/3940216#M3007</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/172382"&gt;@LuitwielerMSFT&lt;/a&gt;&amp;nbsp;, your suggestion turns out to resolve the issue. Would you bother to briefly explain how "Mashup" and "Staging" are correlated? I guess with disabling "Staging" I circumvent the need for the Mashup to happen, which seem to not support that kind of operation?&lt;/P&gt;&lt;P&gt;Or has it been the way I retrieved the maximum Date for further processing?&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2024 15:24:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/MashupException-Error-while-trying-to-load-incremental-data-by/m-p/3940216#M3007</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-05-22T15:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: MashupException.Error while trying to load incremental data by DateTime field</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/MashupException-Error-while-trying-to-load-incremental-data-by/m-p/3940819#M3015</link>
      <description>&lt;P&gt;Awesome! Well what happens is that when staging is turned on, the dataflow engine is storing the results into the staging lakehouse/warehouse. When the dataflow engine then is asked to use the results of the query it retrieves it from the "staging table" and makes the result a "table variable". I'm taking this feedback with me to the engineers while we work on a better design for staging and how we work with variables stored in staging that are not in a table format. Thanks for highlighting this! And stay tuned for the incremental refresh feature that is on the roadmap &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2024 21:09:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/MashupException-Error-while-trying-to-load-incremental-data-by/m-p/3940819#M3015</guid>
      <dc:creator>LuitwielerMSFT</dc:creator>
      <dc:date>2024-05-22T21:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: MashupException.Error while trying to load incremental data by DateTime field</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/MashupException-Error-while-trying-to-load-incremental-data-by/m-p/3942370#M3021</link>
      <description>&lt;P&gt;Thanks for the details&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/172382"&gt;@LuitwielerMSFT&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Glad that your query got resolved&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;. Please continue using Fabric Community for any help regarding your queries.&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2024 08:08:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/MashupException-Error-while-trying-to-load-incremental-data-by/m-p/3942370#M3021</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-05-23T08:08:46Z</dc:date>
    </item>
  </channel>
</rss>

