Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Due to I don't know your data model, I could only give you some advice.
Try to use or || not and && in IF function.
CTA_ADD VAR =
SUMX (
FILTER (
Filtered
IF (
ISFILTERED ( Gender[Gender] ),
[Gender] IN VALUES ( Gender[Gender] ),
TRUE ()
)
|| IF (
ISFILTERED ( PoC[PoC (USA Only)]),
[Race/Ethnicity] IN VALUES ( PoC[PoC (US ONLY)] ),
TRUE ()
)
),
[Total Partner Count (PME)]
)
Or you can try this measure:
CTA_ADD VAR =
VAR _SELECTGENDER = VALUES(Gender[Gender])
VAR _SELECTPOC = VALUES ( PoC[PoC (US ONLY)] )
RETURN
SUMX (
FILTER (
ALL('TABLE'),
TABLE[Gender] IN _SELECTGENDER &&
TABLE[PoC (US ONLY)]IN _SELECTPOC
),
[Total Partner Count (PME)]
)
If this reply still couldn't help you solve your problem, you can share a sample with me by your Onedrive for Business.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
94 | |
81 | |
66 | |
58 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |