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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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:
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!