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

Preparing for a certification exam? Ask exam experts all your questions on May 15th. 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
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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