Forum Discussion
amirghaderi
Helper IV
2 years agoSum hours only once per document by priority
I have three tables as below. in the middle table I want to see the man hour only is shown once per document in the report and is shown against the line which has the highest priority, 1. For exampl...
Fowmy
Super User
2 years agoamirghaderi
I created a calculated column to get the desired results, please check.
Result =
IF(
CALCULATE( MIN( Table31[Priority] ) , ALLEXCEPT( Table31 , Table31[Doc List] ) ) = Table31[Priority] &&
CALCULATE( MIN( Table31[Work pack] ) , ALLEXCEPT( Table31 , Table31[Doc List] ) ) = Table31[Work pack],
RELATED(Table32[Ramaining Hours])
)
amirghaderi
Helper IV
2 years agoThe result comes blank in the below case.
Min1 is your formula first part, Min2 is your formula second part. there is no record with both to be True. So, it comes blank result.
I do understand min1 which check the lowest priority. However, I dont understand what is the second Min. WP is a text column. I expect to see the result against one of the top 4 priority order 6 (does not matter which one.