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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.