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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Dynamic data load in Power BI using Advance editor

Hello Experts,

 

I am using SAP BW as source to load the data in Power BI. I have created vairables in SAP BW Bex query level and given inputs to load the data. Everything was working fine with static inputs.  Now I am looking for the dynamic data load for last 90 days always.

Ajay_Emmadi_0-1660726853433.png

Is there any way to load the data dynamically using advance editor. Kindly put some suggestions to resolve the issue.

 

Regards,

Ajay

1 REPLY 1
amitchandak
Super User
Super User

@Anonymous ,

Before source create these two dates and use that where you are giving the dates

 

end_date = Date.From(DateTime.FixedLocalNow()),

start_date = Date.Adddays(Date.From(DateTime.FixedLocalNow()),-90) ,

Source = <Your code >

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors