Forum Discussion
Need Suggestion
- 6 years ago
For more than one filter use filter clause
Measure = CALCULATE( DISTINCTCOUNT('Table'[Column A]),filter('Table','Table'[Column B] >= 3 && 'Table'[Column C] ="Yes") )For and use && and for Or use ||
Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blog -
https://community.powerbi.com/t5/Community-Blog/Winner-Topper-on-Map-How-to-Color-States-on-a-Map-with-Winners/ba-p/890814
https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-trend/ba-p/882970
https://community.powerbi.com/t5/Community-Blog/Power-BI-Working-with-Non-Standard-Time-Periods/ba-p/881739
https://community.powerbi.com/t5/Community-Blog/Comparing-Data-Across-Date-Ranges/ba-p/823601
For more than one filter use filter clause
Measure =
CALCULATE(
DISTINCTCOUNT('Table'[Column A]),filter('Table','Table'[Column B] >= 3 && 'Table'[Column C] ="Yes")
)
For and use && and for Or use ||
Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blog -
https://community.powerbi.com/t5/Community-Blog/Winner-Topper-on-Map-How-to-Color-States-on-a-Map-with-Winners/ba-p/890814
https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-trend/ba-p/882970
https://community.powerbi.com/t5/Community-Blog/Power-BI-Working-with-Non-Standard-Time-Periods/ba-p/881739
https://community.powerbi.com/t5/Community-Blog/Comparing-Data-Across-Date-Ranges/ba-p/823601
- shashar116 years agoFrequent Visitor
Although logic suggested is correct, I am not sure why I am not getting the right results. Could be data issue.
However, I cannot share the data as its confidential. For now, I am accepting it as a solution. Thank you.