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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

Devide amount over months

Hello,

 

Who can help me with the next question?

 

I have a table with trips

 

TripStartEndAmount
100220115-1-20192-3-2019€ 15.000,00
100220320-1-201930-1-2019€ 45.000,00
100220515-2-201910-3-2019€ 23.000,00

 

Now i want to devide the amount over the months depending the days that the project is in that month

 

Days

JanFebMrt
16282
1000
01310

 

Percentage

JanFebMrt
35%61%4%
100%0%0%
0%57%43%

 

The result has to be like this

 

JanFebMrt
€     5.217,39€   9.130,43€       652,17
€ 45.000,00€                 -  €                 -  
€                 -  € 13.000,00€ 10.000,00

 

 

Wiht kind regards

 

 

 

1 REPLY 1
Greg_Deckler
Super User
Super User


Take a look at these two Quick Measures as I think you want something like them.

https://community.powerbi.com/t5/Quick-Measures-Gallery/Open-Tickets/m-p/409364
https://community.powerbi.com/t5/Quick-Measures-Gallery/Periodic-Billing/m-p/409365


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.