The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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:
User | Count |
---|---|
43 | |
15 | |
13 | |
13 | |
10 |
User | Count |
---|---|
50 | |
40 | |
24 | |
22 | |
18 |