Forum Discussion

chudson's avatar
chudson
Helper IV
5 years ago

Calculating Product Attachment Rates

Does anyone know how to calculate additional product attachment rates on the same order as a primary or specific product or product type is selected?  My scenario I'm trying to get to is that when selecting a specific product/type in a filter on the report that the visual/table will show the revenue of that product obviously but also revenue of additional products that come through on the same exact order #'s.  i have a product hierarchy table that is linked to my fact sales table that has revenue by line item by order for many years.

 

So if Product A was selected as a filter it will put in the revenue from Products B-D as well when on those same orders as Product A.

Table showing kind of how i want the result to show or calculate.

 

ProductQ1Q2Q3Q4
A         1,000         1,500         2,000         3,500
B            500            750         1,000         2,000
C                -              250            500         1,000
D            500            250                -                  -  
Total         2,000         2,750         3,500         6,500

 

 

Thanks!

Chris

6 Replies

  • Hi amitchandak ,

    Turning of the filter interaction opens up all my product revenue making the product filter not do anything.  What I want to be able to do is when filtering on a specific product to not only calculate and show revenue on that product but calculate additional product revenue and show those specific products revenue when on the same orders as the product filtered.  I have a measure that calculates the total revenue regardless when that product was used but it doesn't breakout or show other products it just shows total revenue on that one product line.  Examples:

    I want something like this when product A is filtered

    ProductQ1Q2Q3Q4
    A         1,000         1,500         2,000         3,500
    B            500            750         1,000         2,000
    C                -              250            500         1,000
    D            500            250                -                  -  
    Total         2,000         2,750         3,500         6,500

     

    This is my current state when product A is filtered (just shows the total revenue but not the product mix)

    ProductQ1Q2Q3Q4
    A         2,000         2,750         3,500         6,500

     

     

    Thanks,

    Chris

    • V-lianl-msft's avatar
      V-lianl-msft
      Community Support

      Hi chudson ,

       

      Based on your description, I am not very clear about your scenario.

      Could you share the sample pbix via cloud service like onedrive for business?

      Please remove any sensitive data before uploading.

       

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

  • Hi V-lianl-msft ,

     

    Yes I can share a dummy dataset without senstive information.  Where would you like me to put it?

     

     

    Thanks,

    Chris

  • Hi have put my test file out on one drive but not sure anyone will be able to access due to security set up in my organization.  Can you direct message me and I can try to send you the dummy data file.  It has no sensitive information.

     

    Thanks,

    Chris