The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
HI,
I am having issues getting the below chart to show the months in order. Any ideas?
I am having the same problem, I have a Line Chart, for 2017. And the order is going March 2017, August, 2017, January 2017, October 2017 .....................In my Axis Field I have MonthName. Any ideas how to fix in the right order?
I hope that the months data has years attached to it and if not,year for a particular month can be added to the data so that powerbi sorts them in a proper order.
Check the data type of month, make sure it is date or date/time. Then Power BI will sort the months accordingly
HI, I get the following error when trying to change
Is your underlying data, really just the month names themselves then? i.e. 'January', 'February', etc?
If so...do you have a way to add another column to your 'month name' data? Maybe editing the excel or csv file it comes from? I'm thinking you could add month numbers manually, then tell Power BI to sort by them.
What's your orignial data type of months? Is it only have month information without any year and day values? If this is the case, Power BI would not allow you to covert it to date type since it is not actually a value date value.
One solution I have is to replace your January to 1/1/2018, means to add year and day values to month for creating a real date value.
You can go to Query Editor to duplicate the month column and then use Replace feature to do it. After you create the real date values, Power BI will be able to sort the month correctly.
User | Count |
---|---|
81 | |
74 | |
42 | |
30 | |
28 |
User | Count |
---|---|
108 | |
96 | |
53 | |
48 | |
47 |