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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
sa34techer
Frequent Visitor

Filter Measure by 2 columns

I created a measure off the data below --> (Number# = COUNT(Table[ID])).

 

How to create a new measure off the Number# measure to ID column CONTAINS "CHG" and Status = "Scheduled"?

 

IDStatus
INC029779Closed
INC065546436Open
INC131063093Scheduled
INC196579750Closed
SCTASK004566Open
SCTASK004567Scheduled
INC020534543Closed
CHG00354333Open
INC0267456423Scheduled
SCTASK0068666Closed
CHG00348765Open
CTASK0356544Scheduled
SCTASK006564Closed
SCTASK006565Open
SCTASK006566Scheduled
CHG005634537Closed
CHG005634538Open
1 ACCEPTED SOLUTION
Gsssidhu
Regular Visitor

Try this

 

NewMeasure =
CALCULATE (
    COUNTROWS ( TableName ),
    CONTAINSSTRING ( TableName[ID], "CHG" ),
    TableName[Status] = "Scheduled"
)

View solution in original post

1 REPLY 1
Gsssidhu
Regular Visitor

Try this

 

NewMeasure =
CALCULATE (
    COUNTROWS ( TableName ),
    CONTAINSSTRING ( TableName[ID], "CHG" ),
    TableName[Status] = "Scheduled"
)

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

August Carousel

Fabric Community Update - August 2024

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