Power BI Copilot: The Hidden Impact of Column Sorting on AI-Generated Visualisations
Written By Prateek
Last Updated: January 27, 2025
January 27, 2025

Want to receive our Blog every month?

When working with Power BI’s new Copilot feature, you might notice something unexpected: your AI-generated visualisations aren’t always displaying data in the order you want. This is particularly important when dealing with time-based data like fiscal years, months, or any sequential information.

A Real-World Example of Power BI Copilot Sorting

Let’s walk through a common scenario that many analysts face:

Imagine you have sales data organised by product launch years. Your data might look something like this:

  • Launch Year: “FY2020”, “FY2021”, “FY2022”
  • Sales Amount: Various values for each year

At first glance, everything might seem fine. The data appears in the correct order when you:

  • View it in a simple table
  • Sort it alphabetically
  • Create basic visualisations manually

Where Things Go Wrong

The problem emerges when you start using Power BI Copilot to create visualisations. Here’s what typically happens:

  1. You ask Copilot to “Show Sales Amount by product launch date”
  2. Instead of ordering by year, Copilot orders the data by Sales Amount
  3. Your timeline becomes jumbled, making trends harder to spot
  4. The same issue appears when creating new report pages

Why This Matters

This sorting behaviour can:

  • Misrepresent your data trends
  • Make reports harder to understand
  • Leads to incorrect insights
  • Cause confusion for end users

The Simple Solution

Here’s how to fix this issue:

  1. Create a new column (example name: “Launch YYYY”)
  2. Use this column to set the “Sort By Column” property for your launch date column
  3. Hide the sorting column to keep your model clean

Implementation Steps

  1. Add the Sorting Column
    • Create a new column for sorting
    • Format it to match your desired sort order
    • Keep it simple (like YYYY format for years)
  2. Set Up the Sort By Column
    • Select your display column
    • Set its “Sort By Column” property
    • Point it to your new sorting column
  3. Clean Up
    • Hide the sorting column
    • Test with Copilot
    • Verify the sort order

The Results

After implementing this solution:

  • Copilot consistently respects your intended sort order
  • Visualisations maintain chronological sequence
  • Time-based trends become clearer
  • Reports become more intuitive

Best Practices

While this solution works, remember to:

  • Use proper date dimension tables for more complex scenarios
  • Follow standard data modeling practices
  • Test Copilot-generated visualisations after making changes
  • Document your sorting strategy for team reference

Key Takeaways

  1. Don’t assume alphabetical sorting is enough
  2. Set explicit sort orders for time-based data
  3. Test how Copilot interprets your data
  4. Think about how end users will consume the information

Next Steps

To improve your Power BI models:

  1. Review existing models for sorting issues
  2. Implement proper sort columns where needed
  3. Test with various Copilot prompts
  4. Gather user feedback on the results

Conclusion

While setting up proper column sorting might seem like a small detail, it can significantly impact how Copilot generates visualisations. Taking the time to implement proper sorting will lead to better, more intuitive reports that your users can trust.

Getting this right is especially important as AI-powered features like Copilot become more central to business intelligence workflows. A small investment in proper data modelling pays off in more accurate and useful AI-generated insights.

Want to learn more about optimising your Power BI models for AI features? Contact our team of experts for personalised guidance and best practices.

Keep up to date with Osmosys Blog!

Keep up to date with Osmosys Blog!

Keep up to date with Osmosys Blog!