Forum Discussion
Anonymous
7 years agoNot applicable
Data showing incorrect Capacity number
Hi Guys, I am trying to create a Demand and Capacity visual chart in Power BI for resources per month. I already have the data for both. However, the capacity numbers appear to be incorrect espec...
- 7 years ago
Hi Anonymous ,
Does that make sense? If so, kindly mark my answer as a solution to close the case.
Best Regards,
Amy
v-xicai
Community Support
7 years agoHi Anonymous ,
Try to create column Capacity using DAX below.
Capacity =CALCULATE( RELATED(RM_Roster[Work Hours]) * RELATED(Calendar_Workdays[Number of Working Days]),FILTER(ALLSELECTED(Table1),Table1[Resource Name]=EARLIER(Table1[Resource Name])))
Best Regards,
Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
7 years agoNot applicable
Hi Amy,
Thanks for your help! I tried the DAX below but there's an error that says:
"Too many arguments were passed to the ALLSELECTED function. The maximum argument count for the function is 1."