Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hi,
I am looking to get the below graph to run in monhtly order but to start with the 2022 months rather than have Jan 23 at the start. It would also be helpful if the 2023 bars were a different colour. Can anyone help with this?
I have also had to include the month number to get the months in order but I would prefer to just have the month name showing on my graph to make it cleaner. Can I hide the month number along the x axis? Thanks for any help.
Solved! Go to Solution.
the diffent colours for years can be achieved by using conditional formatting based on a calculation Apply conditional table formatting in Power BI - Power BI | Microsoft Learn
You want to sort [Month Name] by [Month] see Sort one column by another column in Power BI - Power BI | Microsoft Learn . This will mean that you no longer need to show the month numbers.
Then you can sort the chart by the [Year] + [Month name] see Change how a chart is sorted in a report - Power BI | Microsoft Learn
Hope this helps!
the diffent colours for years can be achieved by using conditional formatting based on a calculation Apply conditional table formatting in Power BI - Power BI | Microsoft Learn
User | Count |
---|---|
122 | |
69 | |
67 | |
58 | |
52 |
User | Count |
---|---|
189 | |
96 | |
67 | |
63 | |
53 |