Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi, I have implemented power bi incremental refresh using the RangeStart and RangeEnd parameter. is there a way to make the RangeEnd parameter to dynamically use the current date (DateTime.LocalNow()). The parameter value box only takes datetime value.
the reason I want this is so that when I get a new data and I want to do transformation I don't want manually change the RangeEnd date everytime to see the data in PQ editor preview and the data view.
That's not how incremental refresh works. The values for RangeStart and RangeEnd in Power Query have absolutely no correlation to the partition rules created in the Power BI interface for your table (say, keep last 5 years and refresh last two months). These values in Power Query can be anything and are usually used to give the report developer just enough data to work with the visuals etc (for example when you need to do a Year over Year calculation).
There is a special case when the RangeStart is in the future but you still need to fill the partition. That is handled via XMLA script.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
16 | |
10 | |
10 | |
8 | |
7 |