Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi All,
Hoping for a little guidance here if possible.
My reports presently tells me how many items we have completed per day. We have another total which is work to be completed or backlog for a better phrase.
What I would like to do is take a date range, lets say the last 5 days, look at the total completed and then based on that figure calculate how many days work we have. If the date could be dynamic based on what date are selected on the report that would be even better.
Really appreciaet any help provided.
Thanks
Craig
Could you please provide some sample data of what you have today and what you would like the output to be? Specifically, the relationship between what you've done versus what you will do in the future (is it based on hours, number of items, etc?).
Thanks,
Jessica
Sorry for the late reply.
In answer to your question, keeping it simple I have 2 tables and the following fields
works_order
works_order.wo_id
works_order.wo_built_datetime
works_order_total
works_order_total.wo_id
works_order_total.quantity_built
works_order_total.quantity_unbuilt
ATM I am summing by day the quantity built. If we again keep is simple and just look at the average over the last 5 days and then divide that by whats unbuilt as a total and return the number of days it will take to clear that.
Hope that makes sense.
Thanks for your help.
Hi @CraigBlackman,
If I understand you correctly, you should be able to follow steps below to create a measure to calculate the forecast number of days according to your selections on the date Slicer in this scenario.
1. Create an individual Date table if you don't have one yet(using CALENDAR or CALENDARAUTO Function (DAX)). And create a relationship between your "works_order" table and the created Date table with the date columns.
2. Assume the Date table is called "Date", then the formula to create the measure should like below(You can use a Slicer with date column from the Date table, and the measure can calculate forecast number of days according to your selections).
Forecast number of days = CALCULATE ( SUM ( works_order_total[quantity_unbuilt] ) / COUNTROWS ( Date[Date] ) )
Regards
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
143 | |
85 | |
66 | |
51 | |
45 |
User | Count |
---|---|
216 | |
89 | |
82 | |
66 | |
57 |