Forum Discussion

Alex_Ooi's avatar
Alex_Ooi
Helper IV
6 years ago
Solved

BUG: Reorder.Columns?

Hi, This is the second time I am encountering a weird problem when I use Reorder.Columns( ) function after I have created some calculated columns (in DAX).   What I do is this: 1. Load my dataset...
  • edhans's avatar
    6 years ago

    Once the data is loaded to the data model, changing column order in Power Query does nothing. The only fix is to unload, apply, and reload the table. Of course, that will destroy any calculated columns, measures, visuals, and filters you were using. I don't know if that is a bug as much as it is a design issue.

     

    In designing reports though it doesn't really matter. When choosing fields in both the Report and Model views, they are alphabetcial. You only see this issue in the Data view, which I try to stay out of anyway. I avoid calculated columns as much as possible.

  • Jimmy801's avatar
    Jimmy801
    6 years ago

    Hello Alex_Ooi 

     

    so you did try my solution that i proposed to

    - leave your query as it is, but passing for refreshing purposes a table one new column onl (add new final step that procudes a table with one column only)

    - update datamodel (now with errors, because of the missing columns)

    - delete final step to pass your query

     

    it would be interesting to know if this could solve your issue


    If this post helps or solves your problem, please mark it as solution.
    Kudos are nice to - thanks
    Have fun

    Jimmy