Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi,
I have an issue withpower bi.I have a column which has values like AN-1020-oct30 to nov30 2017,whenever Iam applying sort on this it gives based on the alphabetical order.But I want the sort based on the dates.Latest dates must be come first.
Thanks,
Chunduri
Hi @Anonymous,
Please check if the column date type is Date or Text. If it's Text data type, it will sort values based on the first character of each value. You can change type to Date, then it will sort based on date.
Best Regards,
Qiuyun Yu
Hi Qiuyun Yu ,
Thanks for reply,but it does not accept the datatype change.
Thanks,
Alekhya
Hi @Anonymous,
It look like text values are not valid date format, so you can't convert them to date type directly. You can create a calculated to get corresponding date format value from this column, then change the new column data type to date. Then sort by new column.
If you don't know how to write DAX to create a calculated column. You can share some sample data, then we can test and share DAX.
Best Regards,
Qiuyun Yu
User | Count |
---|---|
84 | |
76 | |
74 | |
49 | |
39 |
User | Count |
---|---|
114 | |
56 | |
51 | |
42 | |
42 |