Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hello Everyone,
I am trying to build a Mekko chart as below.Sample data sheet is attached here Mekko Data Sheet
Now,the only thing constant in the data is Market share for Comp1 to Comp 6 for each product.There could be specific competitors for specific product and there is other competitor category for each product.
Requirement - When we are trying to summarize the market share,we want competitors other than Comp 1 to Comp 6 to be added to the Other Competitors market share in the dashboard.In other words dashboards should have only Comp 1 to Comp 6 and other competitors.Where if we have any additional competitor other than Comp 1 to Comp 6,thier market share will be added with "Other Competitors" and displayed in the dashboard.
Regards
Biru
Solved! Go to Solution.
So i was able to work this out with little research.Sharing if it helps someone else.There could be a better way to do it though 🙂
Hi @Biru ,
Glad to here that. Please accept your reply as the solution. Your contribution is highly appreciated.
In addition, you can also create the column like so:
Competitors 2 =
IF (
[Competitors] IN { "Comp1", "Comp2", "Comp3", "Comp4", "Comp5", "Comp6" },
[Competitors],
"Other Competitors"
)
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
So i was able to work this out with little research.Sharing if it helps someone else.There could be a better way to do it though 🙂
Hi @Biru ,
Glad to here that. Please accept your reply as the solution. Your contribution is highly appreciated.
In addition, you can also create the column like so:
Competitors 2 =
IF (
[Competitors] IN { "Comp1", "Comp2", "Comp3", "Comp4", "Comp5", "Comp6" },
[Competitors],
"Other Competitors"
)
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Is there any IF,Else statement in Power BI which i can use.Lets say i can create a new measure where the value of the measure will be as it is if the competitor is Comp 1 to Comp 6 otherwise put the value as "Other Competitor" in place of comp7,Comp8 etc..
IF NOT ( 'Sheet1'[Competitor]) IN { "Comp1", "Comp2", "Comp3", "Comp4", "Comp5", "Comp6" }
Move "Other Competitors" TO New_Measure
Else
Move ( 'Sheet1'[Competitor]) TO New_Measure
End-if
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
146 | |
85 | |
66 | |
52 | |
47 |
User | Count |
---|---|
215 | |
90 | |
83 | |
66 | |
58 |