Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Relationship issue with Measure

Hi Experts I have been looking at this problem for 3 days and cannot see why my table to the right does not show the same p-value for each of the month periods.  Scenario If you select product id ...
  • freder1ck's avatar
    freder1ck
    6 years ago

     

    New Table

    My Table = 
    VAR OuterComplaints = COUNTROWS ( PMS_COMPLAINT )
    RETURN
    ADDCOLUMNS (
        VALUES ( PMS_FINANCIAL_PDS[Month Start] ),
        "CountComplaints", CALCULATE ( COUNTROWS ( PMS_COMPLAINT ) ),
        "Index", RANKX ( PMS_FINANCIAL_PDS, PMS_FINANCIAL_PDS[Month Start],,, DENSE ),
        "Outer Complaints", OuterComplaints
    )

    Something along these lines...