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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
marcvd
Frequent Visitor

Netting WIP (with aging)

Hi all!

 

I have to make a report for the WIP with aging and do a netting with prebilled amounts.

 

For example:

1/ WIP of 690 and a prebilled amount of 700 => netting => 10 prebilled amount

2/ WIP of 450 and a prebilled amount of 400 => netting => 50 WIP

 

So far so good.

But like a said I have to make an aging table.. 😕

 

So in case 2:

WIP before netting

00-30 days: 50

31-60 days: 20

61-90 days: 80

... (rest): 300

Prebilled: 400

 

WIP after netting

00-30 days: 50

31-60 days: 0

61-90 days: 0

... (rest): 0

Prebilled: 0

 

Excel file with a data sample.

https://1drv.ms/x/s!Akj7bUrQd6tMxFRr7IyAuC9AHOXj?e=1mcHia

 

Can someone help me out?

Thanks a lot and have a wonderful weekend!

M

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @marcvd,

I think you can create a calculated column with math functions to split/group the records based on particular intervals.

 

Group = 
VAR interval = 30
VAR offset =
    INT ( ( [Age] - 1 ) / interval )
RETURN
    offset * interval
        + IF ( offset > 0, 1, 0 ) & " ~ " & ( offset + 1 ) * interval

 

10.png

After these steps, you can create a visual based on the 'group' field as 'category' and unique 'id' field with aggregation mode 'count' to achieve your requirement.

Regards,

Xiaoxin Sheng

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @marcvd,

I think you can create a calculated column with math functions to split/group the records based on particular intervals.

 

Group = 
VAR interval = 30
VAR offset =
    INT ( ( [Age] - 1 ) / interval )
RETURN
    offset * interval
        + IF ( offset > 0, 1, 0 ) & " ~ " & ( offset + 1 ) * interval

 

10.png

After these steps, you can create a visual based on the 'group' field as 'category' and unique 'id' field with aggregation mode 'count' to achieve your requirement.

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors