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 September 15. Request your voucher.
Hi there,
Im trying to calculate the average of production by date and shift.
Each day has 1, 2 or three shifts. Its not fixed.
For the average of production by date I used this:
Hi, @mariba
Average Production by Shift =
AVERAGEX(
KEEPFILTERS(VALUES('Production'[Shift])),
CALCULATE(
[Quantity (m2) Output],
REMOVEFILTERS('Calendar'[Date]) // Optionally remove date filter if you want the average across all dates
)
)
Proud to be a Super User!
User | Count |
---|---|
15 | |
12 | |
7 | |
6 | |
5 |
User | Count |
---|---|
24 | |
20 | |
12 | |
9 | |
7 |