Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi Experts
I want to amend my current measure to exclude the following codes.
From
=calculate ([quantity],
Filter(Customer Class, Customer Class [Segment] <> "106")
To exclude
1008-0
1011-0
1011-1
1301-1
1301-2
1301-3
1301-4
From Segment column.
Solved! Go to Solution.
Hi @Anonymous ,
You can try modifying your DAX as follows:
CalculationsDax =
CALCULATE ([quantity],
Filter(Customer Class, NOT(Customer Class [Segment]) IN { "1008-0", "1011-0", "1011-1", "1301-1", "1301-2", "1301-3", "1301-4" })
)
Thanks,
Pragati
Hi @Anonymous ,
You can try modifying your DAX as follows:
CalculationsDax =
CALCULATE ([quantity],
Filter(Customer Class, NOT(Customer Class [Segment]) IN { "1008-0", "1011-0", "1011-1", "1301-1", "1301-2", "1301-3", "1301-4" })
)
Thanks,
Pragati
@Anonymous , Try a measure like
calculate ([quantity], Filter('Customer Class', not('Customer Class'[Segment] in {"1008-0" ,"1011-0","1011-1","1301-1","1301-2","1301-3","1301-4" } )))
User | Count |
---|---|
102 | |
92 | |
85 | |
78 | |
71 |
User | Count |
---|---|
113 | |
104 | |
101 | |
73 | |
65 |