Forum Discussion
Multiple SUMIFs
Hi,
I want to create a column within a table which is a tag or checker on whether an Opp ID has a majority sold of one product. I have created an excel table to simulate this.
| OPP ID | Product Price | Product Category | % | Majority Network? |
| Opp 12 | 380 | Network | 0.909090909 | Yes |
| Opp 12 | 20 | Network | 0.909090909 | Yes |
| Opp 12 | 40 | Compute | 0.909090909 | Yes |
| Opp 23 | 20 | Compute | 0.833333333 | No |
| Opp 23 | 100 | Network | 0.833333333 | No |
| Opp 33 | 20 | Compute | 0.454545455 | No |
| Opp 33 | 100 | Compute | 0.454545455 | No |
| Opp 33 | 100 | Network | 0.454545455 | No |
In my data I have the Opp IDs e.g. Opp 12, Opp 23, and the price of each product with a label for the product. I do not have the percentage column or if a certain product is the majority of that opportunity.
I don't need the percentage column necessarily, mainly the "Majorty Yes or No?" column. What this column does is sees what percent of the Opp is network based, it then compares it to my chosen threshold e.g 90% and says yes or no.
Please can someone help me recreate this column in the query or custom column within view tables.
Thanks, Tom.
Holland1998 solution attached, tweak it as you see fit.
Check my latest blog post Compare Budgeted Scenarios vs. Actuals I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.⚡
1 Reply
- parry2kSuper User
Holland1998 solution attached, tweak it as you see fit.
Check my latest blog post Compare Budgeted Scenarios vs. Actuals I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.⚡