cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
paolomint
Helper II
Helper II

split values by relevant period

Dear all

 

in my model I have this table:

 

start dateend dateaccountvalue
01.01.202131.05.2021jack100.000
01.02.202130.06.2021paul50.000
01.03.202130.07.2021tony200.000

 

I need to split the value by quarter: 

Selecting in my datatable Q1 (January- Febrary - March)

I'd like to obtain this:

 

  
accountvalue
jack60.000
paul20.000
tony40.000

 

Selecting Q2 (April - May - June)

this:

 

  
accountvalue
jack40.000
paul30.000
tony120.000

 

Selecting Q3 (July- August- Sept)

this:

  
accountvalue
jack 
paul 
tony40.000

 

I don't know how to write dax formula and how to manage the relation with datatable.

I hope someone can help me

 

thanks

Paolo

 

1 ACCEPTED SOLUTION
amitchandak
Super User IV
Super User IV

@paolomint , Try if the attached file I created sometime for something similar can help

 

or this blog


https://community.powerbi.com/t5/Community-Blog/How-to-divide-distribute-values-between-start-date-o...



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

View solution in original post

1 REPLY 1
amitchandak
Super User IV
Super User IV

@paolomint , Try if the attached file I created sometime for something similar can help

 

or this blog


https://community.powerbi.com/t5/Community-Blog/How-to-divide-distribute-values-between-start-date-o...



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

View solution in original post

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

July 2021 Update 768x460.png

Check it out!

Click here to read more about the July 2021 Updates

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Top Solution Authors
Top Kudoed Authors