Forum Discussion
bonjourposte
Helper V
2 years agoHow do I add three variables?
I want monthly totals of how many advances we sent out, and how many collections we took in. Advances worked fine because there is only one source of money going out. My measure was fairl...
- 2 years ago
Does this also return a blank?
NumofCollections = CALCULATE ( COUNTROWS ( TRANHIST ), TRANHIST[TRAN_SUBTYPE] IN { "CORRESP", "PAC", "REGINST" } )
AlexisOlson
Super User
2 years agoDoes this also return a blank?
NumofCollections =
CALCULATE (
COUNTROWS ( TRANHIST ),
TRANHIST[TRAN_SUBTYPE] IN { "CORRESP", "PAC", "REGINST" }
)- bonjourposte2 years ago
Helper V
Yes.
I tried it with COUNTX too:
Collections3 =CALCULATE (COUNTX(TRANHIST,TRANHIST[TRAN_SUBTYPE] ),TRANHIST[TRAN_SUBTYPE] IN { "CORRESP", "PAC", "REGINST" }) - bonjourposte2 years ago
Helper V
Oh thanks so much!! I tried what you wrote again and I just removed some filters I had on the side. Never knew about IN, that is is helpful. Have a great weekend.