Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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])
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
9 | |
8 | |
7 | |
6 |
User | Count |
---|---|
14 | |
13 | |
11 | |
9 | |
8 |