Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
im trying to convert a set of values derrived from ranking to there equivilant percentage.
the schema is as follows
| Social Network CM Red Social | Users CM Red Social |
| (not set) | 100 |
| Academia | 454 |
| Buzzfeed | 235 |
| 676 | |
| Youtube | 33 |
| 67 | |
| Meetup | 56 |
| 345 | |
| (not set) | 234 |
| Academia | 546 |
| Buzzfeed | 676 |
| 87 | |
| Youtube | 89 |
| 76 | |
| Meetup | 45 |
| 78 |
i have one mesure that filters out a social network not needed and aggregates a total
with this measure in hand i have another measure that ranks and gets the top 5 social media users
how can i convert this to percentage knowing that the order and names can change dfrom day to day
im thinking i can use the divide feature with a ranking to 5 and filter out the unwanted social media
below is my current result i need that in percentage
thanks
Solved! Go to Solution.
fixed with the below
@Anonymous ,
You may modify the measaure as below:
TopNRedSocial =
IF (
RANKX (
ALL ( 'Grupo LD CM Red Social'[Social Network CM Red Social ] ),
CALCULATE ( [Users CM Red Social Total] )
) < 6,
SUM ( 'Grupo LD CM Red Social'[Users CM Red Social] )
/ CALCULATE (
SUM ( 'Grupo LD CM Red Social'[Users CM Red Social] ),
ALL ( 'Grupo LD CM Red Social' )
),
BLANK ()
)
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
that gives me a percentage based on all the catagories including the ones not shown.
i changed the mesure to below
fixed with the below
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 48 | |
| 43 | |
| 39 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 68 | |
| 63 | |
| 31 | |
| 30 | |
| 23 |