Forum Discussion

diederd's avatar
diederd
Helper II
9 years ago
Solved

How to filter distinct count across multiple dates

Hello Power BI community   I'm needing some assistance in being able to determine a distinct count (on a company table) whereby in a related table I have a number of meetings associated with each c...
  • bullius's avatar
    bullius
    9 years ago

    The reason for the count not showing what you expected it to show is possibly because of a problem with the relationship between your two tables, as you are running a distinct count on the values in one table based on the dates in the other. Does this make sense?

     

    Does your Appointments table have a column for Company Name? And does this column have an active relationship with the equivalent column in your Companies table?

     

    Also, how are you wanting to visualise the data? Card, Matrix...?

     

     

  • diederd's avatar
    diederd
    9 years ago

    Bullius,

     

    Many thanks for your response; having reviewed the existing (active) relationships I made a change to the "cross filter direction" from "single" to "both" and this resolved the issue.

     

    Thank you again for your time and efforts in pointing me in the right direction.