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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
jtgriffin
Frequent Visitor

Using a Measure as a visual filter

Hello, 

 

I am working on building a dashboard that provides a way to filter and search through business opportunties that might be a benefit to your company. 

 

HOwever, I am having an issue with a visual filter. I created a measure to calculate how many of the deals are greater than 100million in proft. I then took that measure and placed it within a piechart and edited it to make it look like a card basically, since you cant filter off cards. In the example below I have filtered down the table to 68 opportunities (thats in the top right hand corner). I would then like to be able to click on the bottom piechart and have it filter my table to JUST those 10 opportunties. However, when I click the filter nothing happens. The table stays at a total of 68 instead of filtering down to 10. How can I fix this, thank everyone in advance for their help. 

 

Capture.PNG

 

1 ACCEPTED SOLUTION
v-gizhi-msft
Community Support
Community Support

Hi,

 

According to your description, I create a table to test:

41.png

Then, create a measure to calculate the rows of sales which sales are > 100:

Measure = COUNTROWS(FILTER(ALLSELECTED(Sales),Sales[Sales]>100))

Choose a pie chart visual, and then choose the count of [Increment] row as a card visual:

42.png

For your problem why this measure cannot filter the card is that they have no same field, please add the same field to this pie chart visual, and when you click this pie chart, it will filter the card:

43.png

 

 

Best Regards,

Giotto Zhi

View solution in original post

2 REPLIES 2
v-gizhi-msft
Community Support
Community Support

Hi,

 

According to your description, I create a table to test:

41.png

Then, create a measure to calculate the rows of sales which sales are > 100:

Measure = COUNTROWS(FILTER(ALLSELECTED(Sales),Sales[Sales]>100))

Choose a pie chart visual, and then choose the count of [Increment] row as a card visual:

42.png

For your problem why this measure cannot filter the card is that they have no same field, please add the same field to this pie chart visual, and when you click this pie chart, it will filter the card:

43.png

 

 

Best Regards,

Giotto Zhi

deevaker
Resolver I
Resolver I

Hi,

 

I think what you can try is, create a calculated column where you put a condition where deal>100m then 1 else 0.

Now if you pull this column, then i think this should work.

 

Thanks,

 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.