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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors