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 all,
I need help with this for a survey which I have conducted.
I have this set of survey which I am trying to find the average hours/ people without zero:
Place | People | Category | Task | Sub-task | Hours per month |
Warehouse | John | Operations | PM | PM Preperapation | 5 |
Warehouse | John | Operations | PM | PM execution | 10 |
Warehouse | John | Operations | CM | CM Preparation | 5 |
Warehouse | John | Operations | CM | CM execution | 10 |
Warehouse | John | Project | Project support | Project Plan | 0 |
Warehouse | John | Project | Project support | Site Study | 0 |
Warehouse | John | Project | Project support | Project execution | 0 |
Warehouse | May | Operations | PM | PM Preperapation | 3 |
Warehouse | May | Operations | PM | PM execution | 2 |
Warehouse | May | Operations | CM | CM Preparation | 3 |
Warehouse | May | Operations | CM | CM execution | 5 |
Warehouse | May | Project | Project support | Project Plan | 10 |
Warehouse | May | Project | Project support | Site Study | 5 |
Warehouse | May | Project | Project support | Project execution | 5 |
Store | Tim | Operations | PM | PM Preperapation | 5 |
Store | Tim | Operations | PM | PM execution | 6 |
Store | Tim | Operations | CM | CM Preparation | 10 |
Store | Tim | Operations | CM | CM execution | 5 |
Store | Tim | Project | Project support | Project Plan | 0 |
Store | Tim | Project | Project support | Site Study | 0 |
Store | Tim | Project | Project support | Project execution | 0 |
Store | June | Operations | PM | PM Preperapation | 5 |
Store | June | Operations | PM | PM execution | 9 |
Store | June | Operations | CM | CM Preparation | 4 |
Store | June | Operations | CM | CM execution | 6 |
Store | June | Project | Project support | Project Plan | 10 |
Store | June | Project | Project support | Site Study | 5 |
Store | June | Project | Project support | Project execution | 9 |
I tried using this:
What I hope to get:
1. Average hours per person in each place by category, with the tasks as legend.
2. Average hours per person in each place by task, with the sub-tasks as legend.
and 3. Average must exclude the people who input 0 for that category, task or sub-task (to remove the outliners)
I am getting myself all confused after reading all the posts. Any help will be much appreciated.
Thank you so much~
Solved! Go to Solution.
Hi, @byWing
You can try the following methods.
Measure =
Var _table=FILTER('Table',[Hours per month]<>0)
Return
AVERAGEX(_table,[Hours per month])
Is this the result you expect? If not, please provide more sample output.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi, @byWing
You can try the following methods.
Measure =
Var _table=FILTER('Table',[Hours per month]<>0)
Return
AVERAGEX(_table,[Hours per month])
Is this the result you expect? If not, please provide more sample output.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
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 |
---|---|
105 | |
69 | |
49 | |
41 | |
34 |
User | Count |
---|---|
154 | |
112 | |
60 | |
54 | |
35 |