Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

date range parameter not working with incremental refresh in power bi service

Hello,

 

I'm having issue with date range parameter particular RangeEnd parameter where I have adjust the paramter date for reporting.

When I give RangeEnd - 7  and  RangeEnd -2   to provide the native query to get only 1 week worth of data, it works fine in PBI desktop.  However when I publish to PBI service,  it's getting much more data than what I have given in the date range.

 

I have incremental refresh setting for the fact table, I have archive last 12 months data and incremental refersh last 5 days.

 

Any help appreciated!

 

Thanks.

  • The values of RangeStart and RangeEnd are only placeholders (You can abuse them for development purposes to limit the amount of data to develop with).  They have absolutely NO role when running the actual incremental refresh. That is entirely defined by your rules (12 months/5 days). 

3 Replies

  • The values of RangeStart and RangeEnd are only placeholders (You can abuse them for development purposes to limit the amount of data to develop with).  They have absolutely NO role when running the actual incremental refresh. That is entirely defined by your rules (12 months/5 days). 

  • v-yinliw-msft's avatar
    v-yinliw-msft
    Community Support

    Hi Anonymous ,

     

    Could you please check the in Set import and refresh ranges > Incrementally refresh this table click the slider to On.

    If the slider is disabled, it means the Power Query expression for the table does not include a filter based on the RangeStart and RangeEnd parameters.

    And you need to set up the Specify optional settings.

     

    For more information, you can refer this documentation:

    Configure incremental refresh and real-time data for Power BI datasets - Power BI | Microsoft Learn

     

    Hope this helps you.

     

    Best Regards,

    Community Support Team _Yinliw

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • v-yinliw-msft's avatar
    v-yinliw-msft
    Community Support

    Hi Anonymous ,

     

    Could you please tell me if your question is solved?

    If not, you can tell me what had happened.

    If it was solved, you can post your solution or accept the helpful reply as the solution.

     

    Best Regards,

    Community Support Team _Yinliw

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.