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 All,
Have accounts that buy different services for different products. There is a segmentation concept within SEO that looks at the accounts that make up the top 50% of your revenue, those that make up the next 48% and finally the tail that make up the last 2%. Using a slicer, it makes this revenue number dynamic plus I'm trying to group accounts by have a cumulative revenue less than or equal to the segment boundary. Other segmentation techniques I've seen in the community look at accounts in isolation between certain boundaries.
The data looks like:
Accounts,Service,Product,Revenue
Client1,Installation,Network,$10
Client1,Design,Security,$20
Client1,Support,Telephony,$30
Client2,Installation,Network,$30
Client2,Design,Security,$40
Client2,Support,Telephony,$50
Client3,Installation,Network,$90
Client3,Design,Security,$5
Client3,Support,Telephony,$100
It's just in a single fact table at the moment.
I'm a novice trying to work out how to apply this logic. RankX and TopN focus on ranking and looking at the top accounts. However, the logic of what I'm after is:
1) Slice the data by service or product
2) Create calculated measures (50% of Revenue (REV50), 48% of Revenue (REV48), 2% of Revenue (REV2))
3) Sort the accounts by revenue descending
4) Sum descending the rows until <= REV50. Mark a column for Segment - Top.
5) Sum descending the following rows until <= REV48. Mark a column for Segment - Middle.
6) Mark the remaining rows as - Tail.
7) Have a table view which I can slice with a button by Top, Middle or Tail.
Is this feasible in PowerBI?
Cheers
Solved! Go to Solution.
Hi @MikeOll,
Unfortunately, I think it is hard to achieve your requirement. You can add measure or column formula to calculate rank and corresponding revenue.
Measures can be dynamic changed based on slicer or filter, but it not able used on slicers. Calculated column can used as source of slicer, but it can't calculate dynamic result based slicer/filters.
In my opinion, you can consider to write measure to return segment and drag it to visual level filter to apply filter effect on specific visual.
Regards,
Xiaoxin Sheng
Hi @MikeOll,
Unfortunately, I think it is hard to achieve your requirement. You can add measure or column formula to calculate rank and corresponding revenue.
Measures can be dynamic changed based on slicer or filter, but it not able used on slicers. Calculated column can used as source of slicer, but it can't calculate dynamic result based slicer/filters.
In my opinion, you can consider to write measure to return segment and drag it to visual level filter to apply filter effect on specific visual.
Regards,
Xiaoxin Sheng
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 |
---|---|
107 | |
99 | |
76 | |
64 | |
58 |
User | Count |
---|---|
148 | |
113 | |
97 | |
84 | |
67 |