Forum Discussion
Filtering using slicer
- 4 years ago
if revenue is from same table you do not need filter
[Revenue] measure should do
Try like
For selected values
CALCULATE([Revenue], Filter( Table, Table[product_id] in allselected(Table[product_id])))
always product 3
CALCULATE([Revenue], Table[product_id]= 3)
blank when product 3 is not selected
CALCULATE([Revenue],filter(Table, Table[product_id]= 3))
- 4 years ago
Tried the same with KEEPFILTERS, giving the desired results.
CALCULATE([Revenue],KEEPFILTERS('Product Lookup'[product_id]=3))
if revenue is from same table you do not need filter
[Revenue] measure should do
Try like
For selected values
CALCULATE([Revenue], Filter( Table, Table[product_id] in allselected(Table[product_id])))
always product 3
CALCULATE([Revenue], Table[product_id]= 3)
blank when product 3 is not selected
CALCULATE([Revenue],filter(Table, Table[product_id]= 3))
- Tanushree_Kapse4 years ago
Impactful Individual
Thanks amitchandak , that helped!