Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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 fairly simple for that:
However, Collections isn't working because money comes in through three sources: "CORRESP", "PAC", and "REGINST"
My measure is:
However, all it returns to me is this:
What am I missing?
Thanks!
Solved! Go to Solution.
Does this also return a blank?
NumofCollections =
CALCULATE (
COUNTROWS ( TRANHIST ),
TRANHIST[TRAN_SUBTYPE] IN { "CORRESP", "PAC", "REGINST" }
)
Does this also return a blank?
NumofCollections =
CALCULATE (
COUNTROWS ( TRANHIST ),
TRANHIST[TRAN_SUBTYPE] IN { "CORRESP", "PAC", "REGINST" }
)
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.
Yes.
I tried it with COUNTX too: