Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

MashupException.Error while trying to load incremental data by DateTime field

I am currently trying to follow the suggested approach here: https://learn.microsoft.com/en-us/fabric/data-factory/tutorial-setup-incremental-refresh-with-datafl... 

 

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:

 

sebastianriemer_0-1716374208112.png

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 "CLVLMDATE";

As you can see, I get a value back in the preview - that's good.

sebastianriemer_1-1716374362264.png

I also get data back, in the step 2, which actually uses the output-value from before - that's also good

 

Using the "Append" method, I then "Publish" my Dataflow Gen2.

 

But then, I get this error result:

sebastianriemer_2-1716374487295.pngsebastianriemer_3-1716374542129.png

 

I suspect, that there is some syntactical issue when the Dataflow Steps are combined in that Mashup Syntax?

Maybe there is some CAST, or CONVERT which I could introduce, so the Dataflow executes successfully in the end?

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.

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?

 

Here I have put in the error message in plain-text for your viewing convenience.

 

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 "<" kann nicht auf die Typen "Table" und "DateTime" angewendet werden., Zugrunde liegender Fehler: Der Operator "<" kann nicht auf die Typen "Table" und "DateTime" angewendet werden. Details: Reason = Expression.Error;Message = Der Operator "<" kann nicht auf die Typen "Table" und "DateTime" angewendet werden.;Detail = [Operator = "<", 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.<>c__DisplayClass23_0.<CreateValueForRecord>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& value, String& 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 = {"<", "Table", "DateTime"};Microsoft.Data.Mashup.Error.Context = User GatewayObjectId: 8337=========459a2e (Request ID: f92=========a87).

1 ACCEPTED SOLUTION
LuitwielerMSFT
Microsoft Employee
Microsoft Employee

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! 

 

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? 

 

LuitwielerMSFT_0-1716386092153.png

 

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. 

 

LuitwielerMSFT_2-1716386562713.png

 

 

 

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Thank you @LuitwielerMSFT , 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?

Or has it been the way I retrieved the maximum Date for further processing?

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 😉

Anonymous
Not applicable

Thanks for the details @LuitwielerMSFT 
Glad that your query got resolved @Anonymous . Please continue using Fabric Community for any help regarding your queries.

LuitwielerMSFT
Microsoft Employee
Microsoft Employee

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! 

 

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? 

 

LuitwielerMSFT_0-1716386092153.png

 

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. 

 

LuitwielerMSFT_2-1716386562713.png

 

 

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June FBC25 Carousel

Fabric Monthly Update - June 2025

Check out the June 2025 Fabric update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors