Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

empty rows after creating relationships

Hi everyone,  I am using DirectQuery mode to access Catalog and ExecutionLogStorage table in reportServer database, in PowerBI. I filtered the Catalog table just for type=2, which shows just the rep...
  • dax's avatar
    dax
    6 years ago

    Hi Anonymous , 

    I think you need to use measure and visual filter to achieve this goal.

    Measure = CALCULATE(COUNT(B[NAME]), FILTER(B,B[NAME]=RELATED(A[name])))

     

    Best Regards,
    Zoe Zhi

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.