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 August 31st. Request your voucher.
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: