cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
chudson
Helper III
Helper III

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 6
chudson
Helper III
Helper III

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

chudson
Helper III
Helper III

Hi @V-lianl-msft ,

 

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

 

 

Thanks,

Chris

chudson
Helper III
Helper III

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

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.

amitchandak
Super User IV
Super User IV

@chudson , This means no filter or related product. If no filter means a switch off interactions.  https://docs.microsoft.com/en-us/power-bi/create-reports/service-reports-visual-interactions



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

April Update

Check it Out!

Click here to read more about the April 2021 Updates!

MBAS Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!

secondImage

The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.

Top Kudoed Authors