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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
HR303
Frequent Visitor

DAX: Distributing values from one column into multiple colums

Hi all,

 

I need to distribute values from one column into multiple columns with DAX. I have "Order Value" in the Input table for a date range between the "Order Start date" and "Order End Date". 

 

In my DAX Query I want to distribute the "Order Value" in the month of the date range and the show the monthly sum of the broken down "Order Values".

Here is the example:
Screenshot 2024-03-01 144307.png

Does somebody have an idea how to tackle this in DAX?

Thx!

2 ACCEPTED SOLUTIONS
lbendlin
Super User
Super User

Lots of assumptions here.  You want to amortize by month yet your ranges are by date.  

Let's also assume you have a Calendar table.

 

lbendlin_0-1709410760272.png

Let's assume you don't need the total value.

 

View solution in original post

Ashish_Mathur
Super User
Super User

Hi,

You may refer to the attached file for my solution to a similar problem.  Please review it and apply it to your dataset.

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

2 REPLIES 2
Ashish_Mathur
Super User
Super User

Hi,

You may refer to the attached file for my solution to a similar problem.  Please review it and apply it to your dataset.

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
lbendlin
Super User
Super User

Lots of assumptions here.  You want to amortize by month yet your ranges are by date.  

Let's also assume you have a Calendar table.

 

lbendlin_0-1709410760272.png

Let's assume you don't need the total value.

 

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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