Forum Discussion

JGG's avatar
JGG
Helper I
5 years ago

Correct data model and measures

Hi, I've realized I need to look clooser into my data model (getting to complex due to lack og planning and perhaps basic knowledge), so I created a simple test model:

 

I know I need a measure to calculate income per product. But what is the correct approach here (knowing this before creating the model I guess is essential).

Is CROSSFITLTER the way to go? The tip about: "Turn on bi-directional cross-filtering on the relationship. This will change how filters work for all data between these two tables." I cannot do, it is not allowed. 

Or what about GROUP BY?

Or FILTER by something? I must admit I would think this should work: 

Income per product = CALCULATE(SUM('INCOME'[INCOME]),'PRODUCT'[PRODUCT])

 

JG

3 Replies

  • nvprasad's avatar
    nvprasad
    Solution Sage

    HI,

    There are no product-level details in the "INCOME" table. I am wondering how we can derive product-wise income without this information.

     

    Appreciate a Kudos! πŸ™‚
    If this helps and resolves the issue, please mark it as a Solution! πŸ™‚

    Regards,
    N V Durga Prasad

    • JGG's avatar
      JGG
      Helper I

      For each periode there is a link between the cust_id and the income and also for each periode a link bewteen the cust_id and the product. Isn't that sufficient?

      • nvprasad's avatar
        nvprasad
        Solution Sage

        Hello

        No, your income table must also have product details. then we can only get.

        Appreciate a Kudos! πŸ™‚
        If this helps and solves the problem, please mark it as a solution! πŸ™‚

        saludos
        N V Durga Prasad