Home > User Guide > Integrate with Tableau and Power BI > Connect to Power BI > Generate a Data Report in Power BI

    Export to PDF

    Generate a Data Report in Power BI

    1. After connecting your Salesforce backup data to Power BI, complete the following steps to generate a data report in Power BI:
    1. After connecting your Salesforce backup data, select the tables in the left pane and click Transform Data. The Power Query Editor window appears.

    2. Transform Data.

    3. In the Power Query Editor window, click Source in the APPLIED STEPS section.

    4. Source.

    5. Then click the drop-down list of the Item column and use Text filters > Ends with to filter the data.

    6. Text filters > Ends with.

    7. In the Filter Rows window, enter an object to filter the data.

    8. Enter an object to filter the data.

    9. Click to select the Data column and click Remove Other Columns.

    10. Remove Other Columns

    11. Click the Expand icon of the Data column. Then select some necessary columns such as DataServiceGenerateTime, Id, AccountId, Name, StageName, Amount, CloseDate, ForecastCategory, OwnerId, CreatedDate, LastModifiedDate, FiscalQuarter, FiscalYear, and Fiscal. Then, uncheck the Use original column name as prefix option and click OK.

    12. The Expand icon and the Use original column name as prefix option.

    13. Click to select the Amount column and change the Data type to Decimal Number.

    14. Data type > Decimal Number.

    15. Click to select the LastModifiedDate column and change the Data type to Date/Time.

    16. Data type > Date/Time.

    17. Rename the table to the corresponding object.

    18. Rename the table.

    19. In the Home tab of the ribbon, click Close & Apply. Wait to load data.

    20. Close & Apply.

    21. Click the Opportunity table in the right pane and click New column in the ribbon.

    22. The Opportunity table and the New column button.

    23. Enter the following formula to the text box and change its format to Short Date.

    24. JobDate = DATE(MID([DataServiceGenerateTime], 1, 4),MID([DataServiceGenerateTime], 5, 2),MID([DataServiceGenerateTime], 7, 2))

    25. Enter the formula.

    26. Short Date.

    27. In Visualizations, click the Line chart button to create a line chart.

    28. Line chart.

    29. Select the newly created JobDate column to add it to the X-axis field. Then right-click the field and select JobDate.

    30. Add JobDate to the X-axis field.

    31. Select the Amount column to add it to the Y-axis and then resize the chart.

    32. Add Amount to the Y-axis field.

    33. In Visualizations, click the Format your visual icon. Then change the Type in the X-axis section to Categorical, and enable Data labels and Total labels.

    34. The Visualizations section.

    35. Click Save to save the report and then click Publish to publish it to Power BI.

    36. Save and publish the report.

    37. After successfully publishing the report to Power BI, click the option in the window to open it directly in Power BI.

    38. Open the report in Power BI.

    39. Published report in Power BI.