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
Hello!
I'm currently working on a table in desktop that needs the negative numbers to be sorted properly. I formatted the numbers to have units behind them so the column looks something like this:
-11 bps
-13 bps
-14 bps
-29 bps
-6 bps
I want it to look like this:
-29
-14
-13
-11
-6
I realize that PBI is seeing these numbers as text. How can I fix this? I was able to use this DAX to sort all the other numbers without negatives and it worked but the negative values are giving me issues.
Unfortunately the video does not pertain to my dilemma. I attempted but nothing worked
My requirements are to CONCAT "bps" to the numbers so they come out like:
-1 bps
-11 bps
-2 bps
-222 bps
-3 bps
Because of the addition of the "bps" it seems PBI does not know how to sort the numbers in order.
@cuohanele , create a number column by removing " bps"
in power query
New col =Text.Remove([Column]," bps")
sort the original column on new column
https://docs.microsoft.com/en-us/power-bi/desktop-sort-by-column
Cant. The values were created using a calculated measure so in power query, you do not see that column to manipulate
@cuohanele - If this is a column you could use a Sort By column and just make sure it is numeric and just the number portion.
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 |
|---|---|
| 7 | |
| 6 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 21 | |
| 12 | |
| 9 | |
| 5 | |
| 5 |