I am from db world and beginer in (Power)Pivot world...
I have two data tables (views in sql server):
Table 1, aggreagaton of Clients: (ClientType, NoOfClients)
[TABLE="align: left"]
<tbody>[TR]
[TD]ClientType
[/TD]
[TD]NoOfClients
[/TD]
[/TR]
[TR]
[TD]ct1
[/TD]
[TD]100
[/TD]
[/TR]
[TR]
[TD]ct2
[/TD]
[TD]200
[/TD]
[/TR]
[TR]
[TD]ct3
[/TD]
[TD]50
[/TD]
[/TR]
</tbody>[/TABLE]
Table 2, aggregation of casses: (ClientType, attribA, attribB, attribC, ... AttribH, NoOfCasses) - about 10 attributes, only 3000 rows...
[TABLE="align: left"]
<tbody>[TR]
[TD]ClientType
[/TD]
[TD]attribA
[/TD]
[TD]attribB
[/TD]
[TD]attribC
[/TD]
[TD]NoOfCases
[/TD]
[/TR]
[TR]
[TD]ct1
[/TD]
[TD]a1
[/TD]
[TD]b1
[/TD]
[TD]c1
[/TD]
[TD]50
[/TD]
[/TR]
[TR]
[TD]ct1
[/TD]
[TD]a1
[/TD]
[TD]b2
[/TD]
[TD]c1
[/TD]
[TD]20
[/TD]
[/TR]
[TR]
[TD]ct1
[/TD]
[TD]a1
[/TD]
[TD]b2
[/TD]
[TD]c2
[/TD]
[TD]10
[/TD]
[/TR]
[TR]
[TD]ct2
[/TD]
[TD]a2
[/TD]
[TD]b1
[/TD]
[TD]c1
[/TD]
[TD]52
[/TD]
[/TR]
[TR]
[TD]ct2
[/TD]
[TD]a2
[/TD]
[TD]b2
[/TD]
[TD]c1
[/TD]
[TD]22
[/TD]
[/TR]
[TR]
[TD]ct2
[/TD]
[TD]a3
[/TD]
[TD]b2
[/TD]
[TD]c2
[/TD]
[TD]12
[/TD]
[/TR]
[TR]
[TD]ct3
[/TD]
[TD]a1
[/TD]
[TD]b1
[/TD]
[TD]c1
[/TD]
[TD]5
[/TD]
[/TR]
[TR]
[TD]ct3
[/TD]
[TD]a2
[/TD]
[TD]b2
[/TD]
[TD]c1
[/TD]
[TD]6
[/TD]
[/TR]
[TR]
[TD]ct3
[/TD]
[TD]a3
[/TD]
[TD]b2
[/TD]
[TD]c2
[/TD]
[TD]7
[/TD]
[/TR]
</tbody>[/TABLE]
I have to create identical reports, number of reports is equal to number of attributes – 10.
[TABLE="width: 480"]
<tbody>[TR]
[TD]
[/TD]
[TD]Rows
[/TD]
[TD]Column1
[/TD]
[TD]Other columns (value is Sum of NoOfCasses)
[/TD]
[/TR]
[TR]
[TD]ReportA
[/TD]
[TD]ClientType
[/TD]
[TD]NoOfClients
[/TD]
[TD]a1, a2, .., an
[/TD]
[/TR]
[TR]
[TD]ReportB
[/TD]
[TD]ClientType
[/TD]
[TD]NoOfClients
[/TD]
[TD]b1, b2,..., bn
[/TD]
[/TR]
[TR]
[TD]Report...
[/TD]
[TD]...
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]ReportH
[/TD]
[TD]ClientType
[/TD]
[TD]NoOfClients
[/TD]
[TD]h1, h2,..., hn
[/TD]
[/TR]
</tbody>[/TABLE]
Example report:
[TABLE="align: left"]
<tbody>[TR]
[TD]ClientType
[/TD]
[TD]NoOfClients
[/TD]
[TD]a1
[/TD]
[TD]a2
[/TD]
[TD]a3
[/TD]
[TD]Total Cases
[/TD]
[/TR]
[TR]
[TD]ct1
[/TD]
[TD]100
[/TD]
[TD]80
[/TD]
[TD][/TD]
[TD][/TD]
[TD]80
[/TD]
[/TR]
[TR]
[TD]ct2
[/TD]
[TD]200
[/TD]
[TD][/TD]
[TD]74
[/TD]
[TD]12
[/TD]
[TD]86
[/TD]
[/TR]
[TR]
[TD]ct3
[/TD]
[TD]50
[/TD]
[TD]5
[/TD]
[TD]6
[/TD]
[TD]7
[/TD]
[TD]18
[/TD]
[/TR]
[TR]
[TD]Grand Total
[/TD]
[TD]350
[/TD]
[TD]85
[/TD]
[TD]80
[/TD]
[TD]19
[/TD]
[TD]184
[/TD]
[/TR]
</tbody>[/TABLE]
When management asked for first report i made it manual. When they asked for these set of reports, it is time for BI…
It looks simple, but pivot beginner is struggling to make it…
Thanks for any help, guideline…
Ivan
I have two data tables (views in sql server):
Table 1, aggreagaton of Clients: (ClientType, NoOfClients)
[TABLE="align: left"]
<tbody>[TR]
[TD]ClientType
[/TD]
[TD]NoOfClients
[/TD]
[/TR]
[TR]
[TD]ct1
[/TD]
[TD]100
[/TD]
[/TR]
[TR]
[TD]ct2
[/TD]
[TD]200
[/TD]
[/TR]
[TR]
[TD]ct3
[/TD]
[TD]50
[/TD]
[/TR]
</tbody>[/TABLE]
Table 2, aggregation of casses: (ClientType, attribA, attribB, attribC, ... AttribH, NoOfCasses) - about 10 attributes, only 3000 rows...
[TABLE="align: left"]
<tbody>[TR]
[TD]ClientType
[/TD]
[TD]attribA
[/TD]
[TD]attribB
[/TD]
[TD]attribC
[/TD]
[TD]NoOfCases
[/TD]
[/TR]
[TR]
[TD]ct1
[/TD]
[TD]a1
[/TD]
[TD]b1
[/TD]
[TD]c1
[/TD]
[TD]50
[/TD]
[/TR]
[TR]
[TD]ct1
[/TD]
[TD]a1
[/TD]
[TD]b2
[/TD]
[TD]c1
[/TD]
[TD]20
[/TD]
[/TR]
[TR]
[TD]ct1
[/TD]
[TD]a1
[/TD]
[TD]b2
[/TD]
[TD]c2
[/TD]
[TD]10
[/TD]
[/TR]
[TR]
[TD]ct2
[/TD]
[TD]a2
[/TD]
[TD]b1
[/TD]
[TD]c1
[/TD]
[TD]52
[/TD]
[/TR]
[TR]
[TD]ct2
[/TD]
[TD]a2
[/TD]
[TD]b2
[/TD]
[TD]c1
[/TD]
[TD]22
[/TD]
[/TR]
[TR]
[TD]ct2
[/TD]
[TD]a3
[/TD]
[TD]b2
[/TD]
[TD]c2
[/TD]
[TD]12
[/TD]
[/TR]
[TR]
[TD]ct3
[/TD]
[TD]a1
[/TD]
[TD]b1
[/TD]
[TD]c1
[/TD]
[TD]5
[/TD]
[/TR]
[TR]
[TD]ct3
[/TD]
[TD]a2
[/TD]
[TD]b2
[/TD]
[TD]c1
[/TD]
[TD]6
[/TD]
[/TR]
[TR]
[TD]ct3
[/TD]
[TD]a3
[/TD]
[TD]b2
[/TD]
[TD]c2
[/TD]
[TD]7
[/TD]
[/TR]
</tbody>[/TABLE]
I have to create identical reports, number of reports is equal to number of attributes – 10.
[TABLE="width: 480"]
<tbody>[TR]
[TD]
[/TD]
[TD]Rows
[/TD]
[TD]Column1
[/TD]
[TD]Other columns (value is Sum of NoOfCasses)
[/TD]
[/TR]
[TR]
[TD]ReportA
[/TD]
[TD]ClientType
[/TD]
[TD]NoOfClients
[/TD]
[TD]a1, a2, .., an
[/TD]
[/TR]
[TR]
[TD]ReportB
[/TD]
[TD]ClientType
[/TD]
[TD]NoOfClients
[/TD]
[TD]b1, b2,..., bn
[/TD]
[/TR]
[TR]
[TD]Report...
[/TD]
[TD]...
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]ReportH
[/TD]
[TD]ClientType
[/TD]
[TD]NoOfClients
[/TD]
[TD]h1, h2,..., hn
[/TD]
[/TR]
</tbody>[/TABLE]
Example report:
[TABLE="align: left"]
<tbody>[TR]
[TD]ClientType
[/TD]
[TD]NoOfClients
[/TD]
[TD]a1
[/TD]
[TD]a2
[/TD]
[TD]a3
[/TD]
[TD]Total Cases
[/TD]
[/TR]
[TR]
[TD]ct1
[/TD]
[TD]100
[/TD]
[TD]80
[/TD]
[TD][/TD]
[TD][/TD]
[TD]80
[/TD]
[/TR]
[TR]
[TD]ct2
[/TD]
[TD]200
[/TD]
[TD][/TD]
[TD]74
[/TD]
[TD]12
[/TD]
[TD]86
[/TD]
[/TR]
[TR]
[TD]ct3
[/TD]
[TD]50
[/TD]
[TD]5
[/TD]
[TD]6
[/TD]
[TD]7
[/TD]
[TD]18
[/TD]
[/TR]
[TR]
[TD]Grand Total
[/TD]
[TD]350
[/TD]
[TD]85
[/TD]
[TD]80
[/TD]
[TD]19
[/TD]
[TD]184
[/TD]
[/TR]
</tbody>[/TABLE]
When management asked for first report i made it manual. When they asked for these set of reports, it is time for BI…
It looks simple, but pivot beginner is struggling to make it…
Thanks for any help, guideline…
Ivan