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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Shubham_rai955
Super User
Super User

Error while refreshing dataflow gen2

Facing this issue while refreshing the dataflow, Implemented incremental refresh, and not doing any transformaition using M query in any table. Please guide me how to resolve this.

 

Shubham_rai955_1-1758868762057.png

 

1 ACCEPTED SOLUTION
v-nmadadi-msft
Community Support
Community Support

Hi @Shubham_rai955  ,
Thanks for reaching out to the Microsoft fabric community forum.

 

This issue can be caused by a data type mismatch where Date/Time is the required data type for the RangeStart and RangeEnd parameters, but the table date column on which the filters are applied aren't Date/Time data type, or vice-versa. Both the parameters data type and the filtered data column must be Date/Time data type and the format must be the same. If not, the query can't be folded.

Solution: Verify data type
Verify the date/time column for the incremental refresh table is of Date/Time data type. If your table doesn't contain a column of Date/Time data type, but instead uses an integer data type, you can create a function that converts the date/time value in the RangeStart and RangeEnd parameters to match the integer surrogate key of the data source table.

Additionally cast the column to integer if it is incorrectly specified in dataflow as mentioned by @vivien57 

I hope this information helps. Please do let us know if you have any further queries.
Thank you

View solution in original post

6 REPLIES 6
v-nmadadi-msft
Community Support
Community Support

Hi @Shubham_rai955 

I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions.


Thank you.

v-nmadadi-msft
Community Support
Community Support

Hi @Shubham_rai955  ,
Thanks for reaching out to the Microsoft fabric community forum.

 

This issue can be caused by a data type mismatch where Date/Time is the required data type for the RangeStart and RangeEnd parameters, but the table date column on which the filters are applied aren't Date/Time data type, or vice-versa. Both the parameters data type and the filtered data column must be Date/Time data type and the format must be the same. If not, the query can't be folded.

Solution: Verify data type
Verify the date/time column for the incremental refresh table is of Date/Time data type. If your table doesn't contain a column of Date/Time data type, but instead uses an integer data type, you can create a function that converts the date/time value in the RangeStart and RangeEnd parameters to match the integer surrogate key of the data source table.

Additionally cast the column to integer if it is incorrectly specified in dataflow as mentioned by @vivien57 

I hope this information helps. Please do let us know if you have any further queries.
Thank you

vivien57
Super User
Super User

This forum will be more suitable for your error :

https://community.fabric.microsoft.com/t5/Dataflow/bd-p/df_dataflows

vivien57
Super User
Super User

Hello @Shubham_rai955 ,

In your DataflowGen2, did you specify an explicit cast to Number for this column?

Are you getting errors for the values ​​in this column in the Dataflow development screen?

Don't hesitate to give a kudo if my answer helps you.

Have a nice day,

Vivien


I am not doing any transformation in the dataflow, I am not getting error in dataflow page,, only getiting error while refreshing manually and schduled

In this case, can you perform a type transformation for this column in the DataFlow?

Cast it to an integer and see what happens 😉

Don't hesitate to give a kudo if my answer helps you.

Vivien

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.