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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
I_LOVE_POWER_BI
Helper III
Helper III

Add rows based on Date Range in Power Query

Hi all,

 

I have a Date Range Query that looks like this in Power Query:

 

I_LOVE_POWER_BI_2-1665555952236.png

Now I have a huge price list with all sorts off materials that have a random price validity period:

I_LOVE_POWER_BI_3-1665555966561.png

And here is my goal query (just an excerpt with two stores...list is actually very long):

I_LOVE_POWER_BI_4-1665555992729.png

I tried it with a left join with the goal to do a fill down afterwards, but it doesn't work.

 

Thanks for your kind support!

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

Hi @I_LOVE_POWER_BI ,

In my opinion ,use dax will be more easier:

Base table:

vluwangmsft_0-1665652537616.png

 

Output result:

vluwangmsft_1-1665652595685.png

 

You could download my pbix file to learn more details.

 

 

 

Best Regards

Lucien

 

View solution in original post

1 REPLY 1
v-luwang-msft
Community Support
Community Support

Hi @I_LOVE_POWER_BI ,

In my opinion ,use dax will be more easier:

Base table:

vluwangmsft_0-1665652537616.png

 

Output result:

vluwangmsft_1-1665652595685.png

 

You could download my pbix file to learn more details.

 

 

 

Best Regards

Lucien

 

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.