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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors