Forum Discussion

AlainD's avatar
AlainD
Frequent Visitor
6 years ago
Solved

How to; Measure with dynamic count based on filters?

Hi,    After receiving an answer to my question yesterday I ended up with many more questions. I appear to be stuck and not able to solve below. What I want is a Measure to count the amount of data...
  • parry2k's avatar
    6 years ago

    AlainD you can easily add filter in your measure

     

    Base Count = COUNTROWS ( Table )
    
    On Time Count = CALCULATE ( [Base Count], Table[On Time/Late] = "On Time" )
    
    Late Count = CALCULATE ( [Base Count], Table[On Time/Late] = "Late" )