Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
AbhinavSatija
New Member

filter on basis of multiple selections

I need to Filter a table on the basis of one column( Lets say TYPE) which can have 10 different string values (ACROSS 1000 ROWS). Now I want to extract the rows that have the either of the following three values: Good, New, Perfect. My algorithim is like as:

ABC = CALCULATE(    SUM(PF[Contract Rentable Size]),

                                     PF[Type] = "GOOD",

                                   or  PF[Type]= "NEW" 

                                   or PF[Type]= "Perfect"

                          )   

1 REPLY 1
MattAllington
Community Champion
Community Champion

try this

 

ABC = CALCULATE(
SUM(PF[Contract Rentable Size]), PF[Type] = "GOOD" ||
PF[Type]= "NEW" ||
PF[Type]= "Perfect" )

The double pipe is the OR operator (one of them anyway) 



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Kudoed Authors