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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
celebal
Regular Visitor

How to add multiple filters to the data in the same column ?

For example I have a column with 4 different types of values : 'Seen' , 'Read Reviews', 'Added to Cart', 'Bought'. These may be present in any number, together totalling the number of rows in the data. I want to use a 'Semicircular Guage' to represent the total number of 'Bought' (as the Value) and the total no. of 'Added to Cart' as the Target Value in the guage. 
But when I use a 'Visual Filter' and select either of these conditions, the data in the complete visual gets filtered and there is no way I can represent 'Bought' as a percentage of 'Added to Cart' because the no. of rows in both becomes equal. 
Any ideas how I can achieve this ? Thanks !!

1 ACCEPTED SOLUTION
jahida
Impactful Individual
Impactful Individual

I think the best way is two measures:

 

Adds To Cart = CALCULATE(COUNTROWS(Table), Table[Column] = "Added to Cart")

Bought = CALCULATE(COUNTROWS(Table), Table[Column] = "Bought")

 

 

Then put AddsToCart as the Target Value and Bought as the Value

View solution in original post

1 REPLY 1
jahida
Impactful Individual
Impactful Individual

I think the best way is two measures:

 

Adds To Cart = CALCULATE(COUNTROWS(Table), Table[Column] = "Added to Cart")

Bought = CALCULATE(COUNTROWS(Table), Table[Column] = "Bought")

 

 

Then put AddsToCart as the Target Value and Bought as the Value

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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