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
HUlm1
Helper I
Helper I

Fixed rental rate over 100 days or more displayed as a sum per calendar month

We have plant which may be rented for several months.  We have a daily rental rate (because months are different lengths).  Assuming I don't yet have an END Date I would like to present a bar chart from the Start Date until TODAY of the monthly with the correct number of days per month.  Assuming a daily rate of £50 over 30 days that would be £1500.  The next month might be £1550 etc.  I am using a Fiscal Calendar so I hope this can all fit neatly in my Fiscal quarter etc.  I'm not sure which date in the Asset Rental Table to link to the Fiscale Date Calendar.  Perhaps Start Date?

 

I have looked at the solution on this forum for car rental days per month.  I think this is close to what I need but would produce lots of very long extra tables (or so it appears).  I wondered if it was possible to resolve a monthly Sum without creating a row on a table for every day, just a calculated figure per month.

 

To compound that, I may have four or five separate plants on a site so I would like to calculate a sum of all the plant together (as well) (though their rental periods may be slightly different!)

 

I hope that the above makes some kind of sense!
Thanks in hope

 

2 REPLIES 2
v-gizhi-msft
Community Support
Community Support

Hi,

 

Could you please share some data sample here by screenshot if convenient?

Remember to remove any sensitive data.

 

Best Regards,

Giotto Zhi

amitchandak
Super User
Super User

When you want deal with dates like start and end , this blog will help :https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...

But for solution to your problem, can you share sample data and sample output. If possible please share a sample pbix file after removing sensitive information.

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution.
In case it does not help, please provide additional information and mark me with @

Thanks. My Recent Blogs -Decoding Direct Query - Time Intelligence, Winner Coloring on MAP, HR Analytics, Power BI Working with Non-Standard TimeAnd Comparing Data Across Date Ranges
Connect on Linkedin

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.