Forum Discussion

minhvuong93's avatar
minhvuong93
Helper II
9 years ago

Pivot column error

Dear all,

I did a Unpivot of multiple columns and then try to re-pivot this column.

For some reasons I dont know, PBI keeps trying to convert some data into number that I did not want to convert, and the Pivoting Columns always failed.

Can anyone help me with this?

"DataFormat.Error: We couldn't convert to Number."

5 Replies

  • MarcelBeug's avatar
    MarcelBeug
    Community Champion

    Based on your very limited information, my best guess would be that you need to choose "Don't aggregate".

     

     

    • minhvuong93's avatar
      minhvuong93
      Helper II

      Hi MarcelBeug,

      Thank you for your attention. Actually I did select the "don't aggreagate"

      But is it because the data set is too big? the original data is around 30MB but after I re-pivot the column, it always take a very longtime and froze at 50MB sth.

      Basically, my data is something like this...

      One Customer can by from any Sales Rep and they have their own Sale , Frequency of purchase and Call (made by Sale Rep).

      The period goes from Jan -2016 to Mar-2017

       

      • MarcelBeug's avatar
        MarcelBeug
        Community Champion

        Can you share your code from the Advanced Editor and indicate where the error occurs?

        Otherwise it's not clear to me why you would want to repivot?

        If this is a follow up on your previous post, it was my understanding that you should unpivot in Power Query and proceed with creating measures in DAX.