Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have a power pivot table with the following data:
Company code Financial Item Buisness Unit Period Amount
123 ABC A 1 100
123 ABC A 2 245
234 ABC A 1 75
345 CDE B 2 125
234 CDE A 3 375
In an additional column I show the amount of the previous period, so I can calculate the change between periods (for specific company code, financial item and Business unit).
How do I do this in powerpivot?
Thank you for your help
Robert
Solved! Go to Solution.
HI @Dutch
Does this work?
Column =
SUMX(
FILTER(
'Table1',
'Table1'[Company Code] = EARLIER('Table1'[Company Code]) &&
'Table1'[Financial Item] = EARLIER('Table1'[Financial Item]) &&
'Table1'[Business Unit] = EARLIER('Table1'[Business Unit]) &&
'Table1'[Period] = EARLIER('Table1'[Period]) - 1
),
'Table1'[Amount])
HI @Dutch
Does this work?
Column =
SUMX(
FILTER(
'Table1',
'Table1'[Company Code] = EARLIER('Table1'[Company Code]) &&
'Table1'[Financial Item] = EARLIER('Table1'[Financial Item]) &&
'Table1'[Business Unit] = EARLIER('Table1'[Business Unit]) &&
'Table1'[Period] = EARLIER('Table1'[Period]) - 1
),
'Table1'[Amount])
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 46 | |
| 42 | |
| 23 | |
| 18 |
| User | Count |
|---|---|
| 193 | |
| 124 | |
| 101 | |
| 67 | |
| 49 |