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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.