Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have just started using Power BI so I am still learning.
I have a stacked column chart with data which shows how many days something is due.
The columns are listed as 1, 10, 11, 12......., 2, 20, 21, 22,......3, 30, 31, 32 and so on.
How can I get it in true number order.
Solved! Go to Solution.
Hi @paulhazelwood,
Please make sure the data type of this column (listed as 1, 10, 11, 12......., 2, 20,) is set to whole number rather than Text.
Best regards,
Yuliana Gu
Hi @paulhazelwood,
Please make sure the data type of this column (listed as 1, 10, 11, 12......., 2, 20,) is set to whole number rather than Text.
Best regards,
Yuliana Gu
Check out this article on sorting columns by a different column. You specifically want the Sort by Column button section.
I'd need to mock up a file, but I would think the columns would sort in numerical order if those were numbers. Off-hand it seems that they are text that look like numbers and that is why they are sorting that way. Perhaps convert them to numbers in Power Query would do the trick as well.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingThe data in question is not from a column. It is based on a calculation from different columns that are dates. The data then gives me the number of days something is due based on the current date.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
97 | |
75 | |
65 | |
53 |
User | Count |
---|---|
144 | |
103 | |
98 | |
85 | |
64 |