Forum Discussion

vpnnm's avatar
vpnnm
Frequent Visitor
7 years ago
Solved

Help for calculating multiple fields of multiple table in many to many relationship!

Dear All, Please help me with the situation as below:                         Produce the table as below, however my measure for Total #APP looks wrong, and i spent many day sea...
  • v-jiascu-msft's avatar
    v-jiascu-msft
    7 years ago

    Hi vpnnm,

     

    Try this one, please. Are you sure the result should be 2901? I would suggest you check them with a small dataset.

    Total #APP =
    CALCULATE (
        DISTINCTCOUNT ( APP[APP_ID_C] ),
        FILTER ( BRIDGE, BRIDGE[ID] <> BLANK () ),
        FILTER ( LEADGEN, LEADGEN[REALNM_NO] <> BLANK () )
    )
    

    Help-for-calculating-multiple-fields-of-multiple-table-in-many-to-many-relationship4

     

    Best Regards,