Forum Discussion

Magpie_Rob's avatar
Magpie_Rob
Icon for Helper I rankHelper I
4 years ago
Solved

DAX - recreate table for model

Hello, I'm trying to create a DAX bridge table for my model,   I have created the table using a union to get a 1:* relationship, in the bridge table I would like to get a field from the many. in t...
  • v-yanjiang-msft's avatar
    4 years ago

    Hi Magpie_Rob ,

    According to your description, you want to get the max of number_of_accounts for the value of Qty Accounts,the MAX('Multiple Account Customers'[number_of_accounts]) bring back the max of the table, you can use the CALCULATE for the max of the id. Here's my solution.

    It's the details of CALCULATE DAX bellow.

    https://docs.microsoft.com/en-us/dax/calculate-function-dax

     

    Best Regards,
    Community Support Team _ kalyj

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