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.
Hi there,
I am trying to create a measure with multiple conditions using filter.
so if the code is 214 then exclude products abc, xyz etc ( i need to exclude 10 products from the calculation)
You can do something like this to exclude several products
Measure = CALCULATE( COUNT('Table'[Column1]); NOT( 'Table'[Column1] ) in {"A";"B";"C"})
______________________________________________________
If you found this post helpful, please give Kudos C
hi @chavanr
are you expecting something like:
Measure =
CALCULATE(
SUM(Facttable[sales]),
FILTER(Facttable,Facttable[Type] ="Incoming")
) -
CALCULATE(
SUM(Facttable[sales]),
FILTER(Facttable,Facttable[Type] ="Incoming"),
FILTER(Facttable,Facttable[Code] ="214"
)
Hi @FreemanZ Thanks for your response
nope, i need to include but only exclude some item from that code.
e.g. there are 20 items & want to exculde 5 from them.
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 |
---|---|
96 | |
93 | |
82 | |
70 | |
64 |
User | Count |
---|---|
118 | |
106 | |
93 | |
79 | |
72 |