March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I have this very simplified data sheet:
WorkerName | Date | ProductsMade |
John | 2019/12/01 | 40 |
John | 2019/12/01 | 50 |
John | 2019/12/05 | 90 |
John | 2019/12/05 | 70 |
John | 2019/12/07 | 110 |
John | 2019/12/15 | 150 |
John | 2019/12/18 | 70 |
John | 2019/12/21 | 115 |
My workers work several shifts per day. And John is not my only worker 🙂
Lets say I would like to know how many products my workers make on the average per day. That is easy.
But lets say I would like know that information but concerning only those days that they make more than 100 products: average per day per worker.
Any help? In my query or in Power BI?
Thanks in advance,
Pasi Niinikoski
try a measure
Measure = CALCULATE(AVERAGE(Query[ProductsMade]);ALLEXCEPT(Query;Query[WorkerName]);Query[ProductsMade]>100)
do not hesitate to give a kudo to useful posts and mark solutions as solution
Hi @az38 and thanks,
will try that but I must first somehow calculate the sum of the ProductsMade by worker per day and then apply that measure.
-Pasi
ProductsMade = CALCULATE(SUM('Table'[Products]);ALLEXCEPT('Table';'Table'[WorkerName];'Table'[Date]))
do not hesitate to give a kudo to useful posts and mark solutions as solution
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
23 | |
15 | |
12 | |
9 | |
8 |
User | Count |
---|---|
41 | |
32 | |
29 | |
12 | |
12 |