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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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


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...

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


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...

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

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors