Forum Discussion

Gerbil's avatar
Gerbil
Icon for Helper I rankHelper I
2 years ago
Solved

Creating a Card that displays a count of aggregate data?

Reposting this with clearer table   So I have a table like so:   Region      Name      Flag      Count of Job ID North John On 12 South Drake Off 11 South Jason On 5 We...
  • kpost's avatar
    kpost
    2 years ago
    Try this:
     
    rowcount =
    VAR table1 = CALCULATETABLE(SUMMARIZE('Table', 'Table'[Flag], 'Table'[Region], 'Table'[Name], "@rowcount", COUNTROWS('Table')), 'Table'[Flag] = "Off")
    RETURN
    COALESCE(SUMX(table1, IF([@rowcount] > 10, 1, 0)), 0)
     
     
    ///Mediocre Power BI Advice, but it's free///