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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
DJBrennan
Frequent Visitor

Irregular Monthly / Periodic Invoicing

Hi all,

 

I'm an analyst/consultant working for various clients in the area of procurement. One of our services is to provide the client with reports/dashboards showing usage and/ or charges by supply by month including all the usual time intelligence benefits like last month, last year comparisons etc....

 

I've begun to realise that I can't easily use standard months for comparison. An easy example is electricity bills. A bill from one supplier for Supply X may start at 01/06 and end on 310/06, a nice neat calendar month. Another supplier for Supply Y might send a bill covering usage from 12/06 to 11/07 or, perhaps a quarterly bill covering anything from 80-95 days (not very exact). I'm looking for some ideas as to how to "normalise" this data to allow reasonable month-on-month reporting. I hope this makes sense.

 

Many thanks in advance,


Denis

1 ACCEPTED SOLUTION
v-sihou-msft
Microsoft Employee
Microsoft Employee

@DJBrennan

 

In your scenario, since each supplier may have different calendar, I suggest you use Time Intelligence functions like DATESINPERIOD() or DATESBETWEEN() to specify corresponding date range into CALCULATE() with current row start date. 

 

Regards,

View solution in original post

1 REPLY 1
v-sihou-msft
Microsoft Employee
Microsoft Employee

@DJBrennan

 

In your scenario, since each supplier may have different calendar, I suggest you use Time Intelligence functions like DATESINPERIOD() or DATESBETWEEN() to specify corresponding date range into CALCULATE() with current row start date. 

 

Regards,

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.