Forum Discussion
Double Filter
- Anonymous5 years ago
Hi vijayvizzu ,
Please update the formula of measure as below and check whether it can get the correct result. You can find the attachment for the details.
Measure =VAR CarryoverCount =CALCULATE (COUNT ( 'Forwarder Details'[Carry Over] ),PREVIOUSMONTH ( calTable[Date] ),FILTER (ALL ( 'Forwarder Details' ),NOT ( 'Forwarder Details'[Custom] IN { "ABC", "DEF" } )))RETURNCarryoverCountBest Regards
vijayvizzu , Try like
CarryOver =
VAR CarryoverCount =
CALCULATE(
COUNT('Forwarder Details'[Carry Over]),
PREVIOUSMONTH( calTable[Date] ),
filter('Forwarder Details', not('Forwarder Details'[column] in {"ABC" , "DEF"}))
)
amitchandak Thanks for your support, i modified the measure, but it doesn't gives any values (blank)
- amitchandak5 years agoSuper User
vijayvizzu ,Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
- Anonymous5 years agoNot applicable
Hi vijayvizzu ,
Please update the formula of measure as below and check whether it can get the correct result. You can find the attachment for the details.
Measure =VAR CarryoverCount =CALCULATE (COUNT ( 'Forwarder Details'[Carry Over] ),PREVIOUSMONTH ( calTable[Date] ),FILTER (ALL ( 'Forwarder Details' ),NOT ( 'Forwarder Details'[Custom] IN { "ABC", "DEF" } )))RETURNCarryoverCountBest Regards