Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello -
I am having some issues with my TopN reporting. I have a Brand Groups and then each Brand has several items associated with them. I am trying to get the TopN Items within each group (which I am able to do and slice by) as you can see in the Matrix screen shot below.
My issue comes in the trending chart below. I am only showing the Brand Groups on the chart (items are not a dimension in this chart anywhere). I want this trend by brand to sum ONLY the TopN items that I have chosen in my slicer (screen shot example is Top 5). But being the Item Type is not in the chart, it sums EVERYTHING for the brand rather than just the TopN sliced.
Here are my mesures I am using to get my matrix to work for me.
TopN $ = VAR SelectedTop = SELECTEDVALUE('TopN'[TopN])
RETURN
SWITCH(TRUE(),
SelectedTop = 0, [Total Sales ($)],
RANKX (
ALLSELECTED( 'Competitor Sales'[ITEM_DESCRIPTION] ),
[Total Sales ($)]
)
<= SelectedTop,
[Total Sales ($)]
)
TopN Control = IF(ISBLANK([TopN $ Flavors]),0,1)
.The TopN Control is used as a filter to only sum the TopN selection at the brand level.
My question, how can I get the Brand Trend Chart to SUM ONLY the TopN selection for Sales rather than the entire Sales for the brand?
Any help is greatly appecirated!
Thank You
Ryan
Solved! Go to Solution.
Proud to be a Super User!
Will this do??
if not just give me a small snap what exactly you want in a picture so that I should be able to answer
Regards
Vijay Perepa
Proud to be a Super User!
Proud to be a Super User!
@VijayPalmost but not quite (I don't think,). what I would need to see in the case of your example would be 2 lines as legends (for the cities) for 4.06MM and 3.21MM for January.
Does that make sense the way I put it above? I need to be able to compare the trends by brands for the TopN items they sell.
Will this do??
if not just give me a small snap what exactly you want in a picture so that I should be able to answer
Regards
Vijay Perepa
Proud to be a Super User!
Excellent I just did a quick test and it is doing exactly as I want!
Thank you so much!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
95 | |
76 | |
65 | |
51 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |