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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register 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! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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