power bi cashflow

leading up to the launch of our power bi foundations for project controls course, in this post, i will show you how to create a power bi cashflow report. managing project costs efficiently is crucial for keeping complex projects on track and within budget. primavera p6 offers robust tools for assigning and tracking costs across timelines, but translating this data into actionable, visual insights can sometimes be a challenge. i will walk you through the process of exporting cost data from primavera p6 into excel and then into power bi. by leveraging these tools, you’ll be able to transform raw cost data into dynamic cashflow reports, helping you make data-driven decisions with ease and precision.

download your project files here

exporting data from primavera p6 to excel

  1. ensure cost-loaded schedule: confirm that your primavera p6 schedule has all necessary costs assigned.
  2. export resource assignment data: navigate to resource assignment, select all data, and copy it into an excel sheet.
  3. configure export settings:
    1. group & sort: set to “none”
    2. spreadsheet field: choose “budgeted cost”
    3. filters: omit filters if only costs are assigned
    4. columns: include “activity id,” “activity name,” and “resource id”

      power bi 1 - resource assignment layout
      figure 1 – resource assignment layout
  4. select resource assignment data: in the resource assignment layout, select all relevant data for export.
  5. copy and paste to excel: copy the selected data from primavera p6 and paste it directly into an excel sheet for further use.

    power bi 2 - excel file format
    figure 2 – excel file format
  6. save the excel file: after pasting the data, save the excel file in a designated location for easy access during power bi import.

new course power bi foundations for project controls >> find out more <<

exporting data from excel to power bi

  1. open power bi: start by opening a blank report in power bi.
  2. import excel workbook: in the home tab, go to get data > excel workbook, and select your saved excel file.
  3. transform data: click on transform data to open the power query editor.
  4. verify data in power query editor: review the imported data in power query editor to ensure it aligns with your reporting requirements.

    power bi 3 - power query after import
    figure 3 – power query after import
  5. clean up data: in power query editor, delete any unnecessary rows and columns that contain no data.
  6. set headers: under the home tab, select use first row as headers to make the first row of your data the header row.\

    power query after steps 5 and 6
    figure 4 -power query after steps 5 and 6
  7. unpivot columns: select the columns activity id, activity name, resource id, and spreadsheet field. then, under the transform tab, click on unpivot other columns to restructure your data for better analysis and reporting.
  8. adjust data types and rename columns: assign the appropriate data type to each column (e.g., date, text, number) to ensure data consistency. rename columns as needed for clarity and ease of use in reporting.

    power bi 5 - power query after step 7 and 8
    figure 5 – power query after steps 7 & 8
  9. apply changes: in the home tab, click on close & apply to load the transformed data into power bi.
  10. choose visualization type: in the report view, select the line & clustered column chart from the visualization pane.
  11. set chart axes: drag date into the x-axis and total cost into the y-axis (columns) to visualize your cashflow over time.

    power bi 6 - visuals
    figure 6 – visuals for step 11
  12. format the chart: after adding dates and total cost, customize the chart’s appearance by adjusting colors, labels, legends, and other formatting options to suit your preferences and improve readability.

    power bi 7 - final output
    figure 7 – final output

now you know how to use excel as an intermediary between primavera p6 and power bi enables the creation of comprehensive, dynamic, and accurate reports. this process facilitates seamless data transfer and allows for advanced visualization and analysis of project cashflow data in power bi. dive deeper into visualization in power bi and more in our power bi foundations for project controls on-demand course.

new call-to-action