Forum Discussion
Pivot Table in Excel to PowerBI
lbendlin did you had a look at my data yet? https://docs.google.com/spreadsheets/d/1-FfCgSXpK5fNyH3AWyvwfUwBXT9WQqBb/edit?usp=sharing&ouid=104129043494164133703&rtpof=true&sd=true
- lbendlin2 years ago
Super User
yes. I am struggling with point 3. Is SAP Data your raw data?
- Yrstruly20212 years ago
Helper V
SAP Data will be the transactional data that is joined with dimensional data/tables. The SAP source data is then pivoted, as seen in 1st image above.
My challenge is, building the pivoted table in PowerBI from the SQL data source(extract from SQL), see:https://docs.google.com/spreadsheets/d/12RjkTzq1elO3bRzvu4LZ8DxHypZlzIsE/edit?usp=sharing&ouid=104129043494164133703&rtpof=true&sd=true
The Matrix/Pivot feature in Powerbi will work. Now it is building the formulas like, e.g "=-SUMIF('SAP Source'!C[-10];'Cash Flow'!RC[-4];'SAP Source'!C[-3])+334776"
into PowerBI. So all of the referencing is shifting from Excel sheets to SQL table(s).
The data link(https://docs.google.com/spreadsheets/d/1-FfCgSXpK5fNyH3AWyvwfUwBXT9WQqBb/edit?usp=sharing&ouid=104129043494164133703&rtpof=true&sd=true ) contains(SAP + Dimension tables) the tab Cash Flow where you can investigate how the values in Column G are compiled. The primary key contains duplicates, these can be filtered.
Data referential integrity is Many - 1. There can be multiple Account_Number linked to 1
ZTBR_TransactionCode.
Please advise on optimisation methods.
- lbendlin2 years ago
Super User
The raw data is usable. Your formulas however are not. Please describe the business processes rather than the Excel formulas. Power BI does not have an easy way to reference "same row, four columns to the left" and similar.