Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello,
I'm currently working with invoice data for the company that i work for. One of the visuals that i need to create is a table containing the counts of unposted invoices over specific date intervals such as 0-20 days, 21-30 days etc as well as the total value of these invoices.
The aim is the table below.
Currently i'm using very inflexible formulas to work these out as measures
E.G this is what i'm using to calculate the count of unposted date for the 0-20 day interval.
@Anonymous ,
You need a measure
DATEDIFF(min([InvoiceDate]), [PeriodDateSelected], DAY)
now this measure need work at the invoice or invoice line level
example
averagex(Values(Invoice[Invoice]), DATEDIFF(min([InvoiceDate]), [PeriodDateSelected], DAY) )
you need to bucket this. you need an independent table and you have to group it back at invoice or line-level again in new measures
refer by video on the same
Dynamic Segmentation, Bucketing or Binning: https://youtu.be/CuczXPj0N-k
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!