The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hello,
I am new to DAX and Power BI so please bare with me!
I am working with a report that contains many customer survey feedback responses for employees. Each employee is ranked on a score of 1 to 10. The scores are totalled up at the end of each quarter. I'd to create a column that calculates the total score for each employee per Q.
Here is an example that I created in excel. "Employee Total Per Q" is the extra column I would like to create
I looked at the CALCULATE function but that seems to require a specific value to be inputted like "Q3". Is this too complicated for a new column? Is there a better way to do this?
Thanks!
Solved! Go to Solution.
in calculated column, use this code
=calculate(sum(table[survey score]),allexcept(table,table[employee],table[Q+Year]))
Thank you @wdx223_Daniel!
Your solution worked, I'm not sure I understand exactly why but thank you all the same! 😉
in calculated column, use this code
=calculate(sum(table[survey score]),allexcept(table,table[employee],table[Q+Year]))
User | Count |
---|---|
15 | |
13 | |
8 | |
6 | |
6 |
User | Count |
---|---|
24 | |
20 | |
13 | |
9 | |
7 |