Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreThe FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now
Hi Team,
Kindly see my data,
| Name | Rank | #Price |
| Pepper | 1 | 750 |
| Juice | 2 | 200 |
| Pepsi | 3 | 80 |
| Cola | 4 | 15 |
| Bun | 5 |
Here I just want to show the first 3 items based on the price and remaining all should be treated as 'Others'.The sample outout is following.
| Name | Rank | #Price |
| Pepper | 1 | 750 |
| Juice | 2 | 200 |
| Pepsi | 3 | 80 |
| Others | 4 | 15 |
Im having a direct query connection, so could not able to make it a by a measure or calculated column.Please help some one have the related experience.
Thanks in advcance!
Solved! Go to Solution.
Hi @Anonymous,
Based on my test, you could refer to below steps in query editor:
Add conditional column:
Apply it and create a table visual and you can see the result:
Regards,
Daniel He
Hi @Anonymous,
Could you please tell me if your problem has been solved? If it is, could you please mark the helpful replies as Answered?
Regards,
Daniel He
Hi @Anonymous,
Based on my test, you could refer to below steps in query editor:
Add conditional column:
Apply it and create a table visual and you can see the result:
Regards,
Daniel He
In order to display Others in rows you will need a row somewhere that actually says Others, e.g. with calculated table such as:
Names = UNION(VALUES('Table'[Name]),ROW("Name","Others"))is that possible for you?
you can use it in both, the example I posted was for a measure
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 |
|---|---|
| 53 | |
| 40 | |
| 38 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 70 | |
| 69 | |
| 34 | |
| 33 | |
| 30 |