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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
ViniNaegele
Frequent Visitor

Showing data between two dates

Hey All,

 

I have a contracts table, where I have the start date and end date. I also have the monthly amount.

 

When I connect my calendar table to the end date and put that data into a matrix, the monthly amount will only appear at the contract end date.

 

I would like it to show every single month since the start date.

E.G Contract starts 01/01/2022 and ends 12/31/2022, with a monthly charge of 10,509.

I want my matrix to show 10,509 every month on that matrix. Below is how my table looks like right now with contract ending in Nov and highlighted in yellow is where I would like my data to show up as well (together with the end date). As of now my year appears as I only have 10,509 of revenue, when I should actually have 126,108.

 

 

ViniNaegele_0-1674656146640.png

 

My contracts table is a simple table showing customer name, start date, end date, monthly charge. 

Thanks,

Vinicius

1 ACCEPTED SOLUTION
Greg_Deckler
Super User
Super User

@ViniNaegele 
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


@ 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!:
Mastering Power BI 2nd Edition

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

2 REPLIES 2
Greg_Deckler
Super User
Super User

@ViniNaegele 
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


@ 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!:
Mastering Power BI 2nd Edition

DAX is easy, CALCULATE makes DAX hard...

Thanks, the period billing measure worked!

Do you know what would need to be changed if the calendar table was already connected to the billing table?

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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