Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi everyone,
I'm struggling with a formula to create the average quantity produced in a production line. I started with this formula to count the days the we actually worked:
countrows(calculatetable(dDate,filter(dDate,dDate[Day Of Week]<>"domingo"&&dDate[Date]<=lastdate(all(fProduction[Producción])))))
The formula works fine; it basically takes away Sundays. Here's the problem. I just got a new table with dates that should be taken away from the average (the dates are different depending on the production line).
I have no idea how to do this. Any suggestions?
(Hope I was able to explain my issue clearly)
@EdwardChurches , Assume Your measure name is M1, which you created above you can try
AverageX(Values(Table[ production line]) , [M1])
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
47 | |
26 | |
22 | |
12 | |
8 |
User | Count |
---|---|
76 | |
50 | |
46 | |
16 | |
12 |