Forum Discussion

ShaileshKT's avatar
ShaileshKT
Frequent Visitor
5 months ago
Solved

Segmentation based on Product List available for each Customer

Hi Team, I need help to build segmentation for each customer based on the list of products. Below is the example: CustomerID ProductID Expected Segment Customer1 Product1 Segment1 Cust...
  • v-moharafi-msft's avatar
    5 months ago

    HI ShaileshKT ,

     

    Yes, it is possible to achieve this using a calculated measure even when CustomerID and ProductID are present in different tables, provided the tables are properly related in the data model. I have successfully reproduced your requirement using the Bridge-based model .

     

    This can be achieved by:

    • Creating separate Customer and Product tables

    • Using a bridge/fact table that contains the mapping between CustomerID and ProductID

    • Creating relationships between these tables in the model view

    • Building the segmentation logic as a measure that evaluates the related product combinations for each customer

     

    So, you do not necessarily need to create a single combined table if the relationships are configured correctly.

     

    If you face any difficulty while implementing it in your model, please feel free to reach out to us. We are happy to assist..

    Please check out the .pbix file provided

     

    Best Regards,

    Abdul Rafi