Forum Discussion
Merging summary tables
Shwetabh147 , For this first you can create a measure for total sales
Total Sales = SUM(SalesTable[SalesAmount])
Then, Create a measure for rank
Store Sales Rank =
RANKX(
ALL(CustomerDimension[CustomerKey]),
[Total Sales],
,
DESC,
DENSE
)
Create a custom column in Customer Dim table
Store Segment =
SWITCH(
TRUE(),
[Store Sales Rank] <= 25, "Segment 1",
[Store Sales Rank] <= 50, "Segment 2",
[Store Sales Rank] <= 75, "Segment 3",
"Segment 4"
)
Then you can create visuals using these measure and columns,I have taken general scenarios as you have not given sample data
- Shwetabh1472 years agoFrequent Visitor
I have the segments added . Problem is . There is a table where we need to showcase category level sales . Now category is in product dimension. Ask is when user selects segment, the categories should also filter for that segment.