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 everyone.
I have a data set that looks like this:
AssemblyName | ProcessStep | SerialNumber | TouchTime | Date |
Assembly1 | Build | N001 | 30 | 3/1/2023 |
Assembly1 | Build | N002 | 35 | 3/2/2023 |
Assembly1 | Build | N003 | 25 | 3/3/2023 |
Assembly2 | Build | N004 | 40 | 3/1/2023 |
Assembly2 | Test | N004 | 50 | 3/1/2023 |
Assembly2 | Measure | N004 | 20 | 3/2/2023 |
Assembly2 | Build | N005 | 35 | 3/2/2023 |
Assembly2 | Test | N005 | 45 | 3/2/2023 |
Assembly2 | Measure | N005 | 30 | 3/4/2023 |
I am looking at the touch time for various assembly processes on the manufacturing line. Some assemblies only have one process step, while others have more than one.
When I use a slicer to look at the touch time data for one assembly, and one process step, the average appears to work correctly.
But when I try use a slicer to look at the touch time for multiple process steps, the totals are still correct but the average goes down. I believe this is because it is taking the total sum and then dividing by the total number of steps. What I want is for it to take the average of each individual process step and then add those averages together.
Solved! Go to Solution.
Hi @JasonFurtner ,
According to your description, here are my steps you can follow as a solution.
(1) My test data is the same as yours.
(2) We can create a measure.
Average Touch Time = SUMX( VALUES('Table'[ProcessStep]), AVERAGE('Table'[TouchTime]) )
(3) Then the result is as follows.
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
On the data that you have shared, show the expected result.
Hi @JasonFurtner ,
According to your description, here are my steps you can follow as a solution.
(1) My test data is the same as yours.
(2) We can create a measure.
Average Touch Time = SUMX( VALUES('Table'[ProcessStep]), AVERAGE('Table'[TouchTime]) )
(3) Then the result is as follows.
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks that works perfectly!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
119 | |
83 | |
47 | |
42 | |
33 |
User | Count |
---|---|
190 | |
79 | |
72 | |
52 | |
46 |