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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
BEC_100
Frequent Visitor

Multiple Citeria Measure

Hello experts.

I have a table that contains data in following format

Build   ver      Color

12           1.0.1    blue

12           1.0.3    red

13          2.0.4    blue

13          2.0.5    orange

12          3.0.2    blue

I want to create a measure that if is ‘12’ and ‘blue’, it will filter only

12           1.0.1    blue

12          3.0.2    blue

This works for only one criteria

Measure = COUNTROWS(FILTER(UnifiedInstallers,UnifiedInstallers[Color]="blue")) but I need the Build too.

Any help is greatly appreciated

1 ACCEPTED SOLUTION
v-jingzhang
Community Support
Community Support

Hi @BEC_100 

 

You can use && to concatenate multiple criteria. For example, 

Measure =
COUNTROWS(FILTER(UnifiedInstallers,UnifiedInstallers[Color]="blue" && UnifiedInstallers[Build]="12"))

If the Build column is Number type, remove the double quotes around 12. 

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

View solution in original post

1 REPLY 1
v-jingzhang
Community Support
Community Support

Hi @BEC_100 

 

You can use && to concatenate multiple criteria. For example, 

Measure =
COUNTROWS(FILTER(UnifiedInstallers,UnifiedInstallers[Color]="blue" && UnifiedInstallers[Build]="12"))

If the Build column is Number type, remove the double quotes around 12. 

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.