Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Using CSV file from Primavera Timescale

I am new to Power Bi. If anyone is familair with Primavera it would help with the question I have. I am trying to load a csv file with the timescale from Primavera. Of course the dates that run horizontal are text based and the number values in the columns are general. I tried to unpivot all the timescale columns. It did not recognize the headers. I then cleaned up my headers, which I don't want to do, and it changed the dates to an attribute. I really need this to be dynamic since date ranges change depending on the project. My end goal is to be able to have all the hours in a histogram budgeted hours daily. Is this possible with Power Bi without being really complex ?

  • Anonymous , check if unpivot other columns can help

    select only those which you want to be the same.  in that case I will work even if date column increase

  • Hi Anonymous 

    Where are you stuck now? Have you solved this question? If you have solved the question, you can accept the answer helpful as the solution or share you method and accept it as solution, thanks for your contribution to improve Power BI.

    If you need more help, please let me know.

     

    Best Regards,

    Community Support Team _Tang

    If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

4 Replies

  • Anonymous , check if unpivot other columns can help

    select only those which you want to be the same.  in that case I will work even if date column increase

  • Anonymous's avatar
    Anonymous
    Not applicable

    I kept all the other columns I didn't want to unpivot. I only wanted the timescale dates to unpivot. I wanted to keep cloumns A thru T the same. I removed column U and then did the unpivot on the rest to the right.

    • v-xiaotang's avatar
      v-xiaotang
      Community Support

      Hi Anonymous 

      Where are you stuck now? Have you solved this question? If you have solved the question, you can accept the answer helpful as the solution or share you method and accept it as solution, thanks for your contribution to improve Power BI.

      If you need more help, please let me know.

       

      Best Regards,

      Community Support Team _Tang

      If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

      • Anonymous's avatar
        Anonymous
        Not applicable

        I am still stuck at the same point. I tried doing replace, change data type, and then unpivot. I was hoping that I could use Power Bi to clean the data and arrange it the way excel can. I was wrong about it from what I can try and figure out. I think I will stick with trusty old excel to perform my reports. I am starting to see that Power Bi is a lot like MS Access with horizontal data with date headers and number values in columns. Primavera is a unique program that produces excellent CSV files, but outside of excel they do not line up easily.