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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.