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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. 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
May PBI 25 Carousel

Power BI Monthly Update - May 2025

Check out the May 2025 Power BI update to learn about new features.

May 2025 Monthly Update

Fabric Community Update - May 2025

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