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.
Hi Guys, I am new to powerBi !
I show my requirements below.............! please check them up
This is my table..... Here each project has separate headcount values itself. For example, Project A -> 8 Project B -> 1
I need a cloumn like this
How to create by dax query ?
Solved! Go to Solution.
This is the correct solution for it
ProjectWithheadCount = CALCULATE(DISTINCTCOUNT(sourceTable[headcount]), ALLEXCEPT(sourceTable, sourceTable[Project]))
This is the correct solution for it
ProjectWithheadCount = CALCULATE(DISTINCTCOUNT(sourceTable[headcount]), ALLEXCEPT(sourceTable, sourceTable[Project]))
User | Count |
---|---|
70 | |
64 | |
62 | |
49 | |
28 |
User | Count |
---|---|
117 | |
75 | |
61 | |
54 | |
42 |