My Fact table consists of financial transactions.
Normally when grouping account codes you would use 1-To-Many
But I would like to use one table to group account codes for multiple KPIs, an account code might be used in one or more KPIs
Assuming the Measure was a simple sum the output would be:
Can anyone assist?
Book1 | ||||
---|---|---|---|---|
A | B | |||
1 | Account | Amount | ||
2 | 1234 | -60 | ||
3 | 1234 | -78 | ||
4 | 456 | -80 | ||
5 | 456 | -196 | ||
6 | 987 | 651 | ||
7 | 987 | 18 | ||
8 | 987 | 68 | ||
Sheet1 |
Normally when grouping account codes you would use 1-To-Many
Book1 | ||||
---|---|---|---|---|
J | K | |||
1 | Account | Heading | ||
2 | 1234 | Income | ||
3 | 456 | Income | ||
4 | 987 | Expenditure | ||
Sheet1 |
But I would like to use one table to group account codes for multiple KPIs, an account code might be used in one or more KPIs
Book1 | ||||
---|---|---|---|---|
E | F | |||
1 | Account | KPI | ||
2 | 1234 | KPI1 | ||
3 | 456 | KPI1 | ||
4 | 1234 | KPI2 | ||
5 | 456 | KPI2 | ||
6 | 987 | KPI2 | ||
7 | 456 | KPI3 | ||
8 | 987 | KPI3 | ||
Sheet1 |
Assuming the Measure was a simple sum the output would be:
Book1 | ||||
---|---|---|---|---|
A | B | |||
15 | KPI | Amount | ||
16 | KPI1 | -414 | ||
17 | KPI2 | 323 | ||
18 | KPI3 | 541 | ||
Sheet1 |
Can anyone assist?
Last edited by a moderator: