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
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.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
| User | Count |
|---|---|
| 47 | |
| 44 | |
| 40 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 70 | |
| 68 | |
| 32 | |
| 27 | |
| 25 |