Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
9 years ago

Count and Countrows returning 'Blank' Value

I have a table with over 200,000 phone calls; but when I use 'Count' or 'Countrows' the value returned is blank. 

 

What could be the underlying issue?

 

My measure is:

 

Total Calls = COUNTROWS(Phone)

11 Replies

  • nirvana_moksh's avatar
    nirvana_moksh
    Impactful Individual

    I ran into this issue as well and later found I had a page level filter which was referencing old name of the query instead of the new one. Updating that fixed the count right away.

  • Anonymous's avatar
    Anonymous
    Not applicable

    Are there relationships with other tables involved here?

    • Anonymous's avatar
      Anonymous
      Not applicable

      Anonymous

       

      Yes, A relationship to the date table, and an indexing table

      • Anonymous's avatar
        Anonymous
        Not applicable

        OK, there are a number of possibilities here.

        1. Is the relationship with the date table active or inactive?
        2. Are you sure that the date column in your phone call table is actually the date datatype and not datetime? Like in the query, what is it set to? If it's datetime in the query, even if you set the datatype to date in the Power BI data model it won't work. There are other digits hidden so the dates will never match a date in your date table.
        3. If none of that solved it, tell me more about this indexing table.