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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
smmoore34
Helper II
Helper II

Add a filter to a card that uses a measure

I have created a measure that counts the number of values in a table and applied it to a card. I want to have another card with the same measure but with a filter. When I look at the filter on this visual I'm not able to add a data fileld to filter on card visual.

Is there a way I can add a filter to the measure?

 

Here is my measure: 

# Civil Assigned = COUNT(CIVIL_SC1_Assigned[callid])
 
I have filters on a table visual: smmoore34_0-1708469218694.png

I want to have a card that uses the measure shown above with these filters.

I appreciate any help!

 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Create another measure .

View solution in original post

3 REPLIES 3
smmoore34
Helper II
Helper II

Thank-you!

v-xinruzhu-msft
Community Support
Community Support

Hi @smmoore34 

You can create a new measure, then put the new measure to the card visual.

e.g 

Measure =
CALCULATE (
    [# Civil Assigned],
    FILTER (
        CIVIL_SC1_Assigned,
        NOT ( CIVIL_SC1_Assigned[CIVIL_remian.unit] IN { "SC1", "SC2", BLANK () } )
            && CIVIL_SC1_Assigned[number] <> BLANK ()
    )
)

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

lbendlin
Super User
Super User

Create another measure .

Helpful resources

Announcements
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

Check out the October 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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