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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Rom_A
Frequent Visitor

sum per time (month) using start and end date from table

 

Hi all,

I am very new to power bi and would appreciate some help. Have a table something like the one below

 

countStartDateEndDate
251/1/20213/31/2022
173/1/202112/31/2021
326/1/20216/1/2022
447/1/202110/31/2022
141/1/202212/31/2022
211/1/20213/31/2022
102/1/202212/31/2022

 

from this I would like to create a graph as shown below where a total sum from all rows that the month is in the range of the start and end date:

graph_image.jpg

 

thanks in advance

Rom

 

 

1 ACCEPTED SOLUTION
Greg_Deckler
Community Champion
Community Champion

@Rom_A 
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!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

2 REPLIES 2
Rom_A
Frequent Visitor

@Greg_Deckler

Hi

First I would like to express my appreciation for your very prompt reply. It seems that the Periodic-Billing is in line with what I need.

I do apologize for taking time to accept your solution, being very new to power BI it is taking me a while to implement. To start, I wasn’t aware the measure is based on a disconnected date table whereas my date table was connected, which produced ‘weird’ results. Which brings me to the question is there a solution where the tables are connected?  

Subsequently, I found if dates were missing in any rows the measure returned an error. Which brings me to the next question is there a solution where the rows with missing dates are not analyzed by the measure?

Thank you

Rom

Greg_Deckler
Community Champion
Community Champion

@Rom_A 
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!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.