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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.