Forum Discussion

PPStar's avatar
PPStar
Icon for Helper V rankHelper V
2 years ago
Solved

How to use Related to get data from another inactive relationship

Hello.     I have a table called All Surveys which has data about completed surveys. It has a Completed Date   I also have a Data Table with the regular Date columns, e.g Date   I am unable to ...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi PPStar ,
    Thanks for Syk reply.
    Here some steps that I want to share, you can check them if they suitable for your requirement.
    Here is my test data:
    All Survery

    Date

    ID

    Relationship

    Create a measure

    Measure = 
    CALCULATE(
        MAX('Date'[Month&Year]),
        USERELATIONSHIP('All Survery'[Completed Date],'Date'[Month&Year])
    )

    Final output

    Best regards,
    Albert He

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