Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
So, as the title of my post suggest, I have a column that is a number. It is the line number of a PO. For example,
Order Line Qty Item
A123-G 1 19 Red item
A123-G 2 4 Blue item
A123-G 3 13 Green item
Although I have no reason to sum this line up (1+2+3) or really any other math, I do need to count the number of lines, and I frequently like to sort the lines in order ascending or descending order.
I'm sure this is a common scenario - what is the best practice? A data field as Text or as a Whole Number ?
Solved! Go to Solution.
If you want to have them sort you will want to go with whole number.
If they are text 12 < 2.
Just make sure to set the default aggregation to "Don't summarize"
If you want to have them sort you will want to go with whole number.
If they are text 12 < 2.
Just make sure to set the default aggregation to "Don't summarize"
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
80 | |
79 | |
58 | |
36 | |
35 |
User | Count |
---|---|
99 | |
56 | |
56 | |
46 | |
40 |