Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

Creating a Data Quality Dashboard filtered by multiple criteria

Hello,   I am trying to create a Data Quality Dashboard filtered by multiple criteria. I have the following two tables:   Error-Table: uid product attribute 1xxxx Product 1 Attr1 2x...
  • Anonymous's avatar
    Anonymous
    3 years ago

    Hi Anonymous ,

     

    According to your description, here are my steps you can follow as a solution.

    (1) My test data is the same as yours.

    (2) We can create a measure. 

    Measure = 
     var _countrows_allpro=COUNTROWS(ALLSELECTED('All-Products-Table'))
     var _countrows_attribute=CALCULATE(COUNTROWS('Error-Table'),FILTER(ALLSELECTED('Error-Table'),[attribute]=MAX('Error-Table'[attribute])))
     return DIVIDE(_countrows_attribute,_countrows_allpro)

    (3) Then the result is as follows.

    Best Regards,

    Neeko Tang

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