The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I am trying to calculate future months Purchase Order Commitments as we call it.
In my table I have Vendor ID's, Required Dates, and Total Dollar amounts for those given Required Dates.
For example one vendor looks like this for the data:
Vendor ID | Required Date | Ext Amount |
1068 | 6/13/2022 | 5254.40 |
1068 | 7/11/2022 | 6666.00 |
1068 | 7/20/2022 | 27900.00 |
1068 | 7/20/2022 | 3980.00 |
1068 | 7/20/2022 | 13000.00 |
1068 | 7/20/2022 | 2367.60 |
1068 | 8/4/2022 | 579.86 |
1068 | 8/8/2022 | 2367.60 |
1068 | 8/26/2022 | 3121.88 |
1068 | 8/26/2022 | 18854.37 |
1068 | 9/1/2022 | 12277.43 |
1068 | 9/7/2022 | 59208.33 |
1068 | 9/9/2022 | 5424.00 |
1068 | 10/6/2022 | 4509.78 |
1068 | 10/10/2022 | 3980.00 |
1068 | 11/1/2022 | 7230.00 |
1068 | 11/10/2022 | 7662.00 |
1068 | 11/16/2022 | 4500.00 |
1068 | 11/17/2022 | 15992.59 |
1068 | 11/17/2022 | 5948.25 |
1068 | 12/1/2022 | 2684.25 |
1068 | 12/15/2022 | 3980.00 |
1068 | 12/15/2022 | 4116.09 |
1068 | 12/15/2022 | 1507.29 |
1068 | 12/15/2022 | 15084.30 |
1068 | 12/31/2022 | 5155.20 |
1068 | 1/4/2023 | 3996.00 |
1068 | 2/2/2023 | 3996.00 |
1068 | 2/4/2023 | 2712.00 |
What I would like is to get all of these broken up into buckets (column measures).
What I have now is...
Past Due which is this measure:
Solved! Go to Solution.
Current Month = CALCULATE(SUM(OpenPOs[Ext Amount]), eomonth(OpenPOs[Required Date],0) = eomonth(TODAY(),0) )
future months = CALCULATE(SUM(OpenPOs[Ext Amount]), eomonth(OpenPOs[Required Date],0) > eomonth(TODAY(),0) )
Current Month = CALCULATE(SUM(OpenPOs[Ext Amount]), eomonth(OpenPOs[Required Date],0) = eomonth(TODAY(),0) )
future months = CALCULATE(SUM(OpenPOs[Ext Amount]), eomonth(OpenPOs[Required Date],0) > eomonth(TODAY(),0) )
User | Count |
---|---|
81 | |
74 | |
42 | |
30 | |
28 |
User | Count |
---|---|
108 | |
96 | |
53 | |
48 | |
47 |