| 1 | <?xml version="1.0" encoding="utf-8"?>
|
|---|
| 2 | <Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
|
|---|
| 3 | <DataSources>
|
|---|
| 4 | <DataSource Name="BAZA_REKLAM">
|
|---|
| 5 | <DataSourceReference>BAZA_REKLAM</DataSourceReference>
|
|---|
| 6 | <rd:DataSourceID>d5cd74ea-0203-4897-b23b-608b6e7c9ee7</rd:DataSourceID>
|
|---|
| 7 | </DataSource>
|
|---|
| 8 | </DataSources>
|
|---|
| 9 | <BottomMargin>2.5cm</BottomMargin>
|
|---|
| 10 | <RightMargin>1cm</RightMargin>
|
|---|
| 11 | <PageWidth>21cm</PageWidth>
|
|---|
| 12 | <rd:DrawGrid>true</rd:DrawGrid>
|
|---|
| 13 | <InteractiveWidth>21cm</InteractiveWidth>
|
|---|
| 14 | <rd:GridSpacing>0.25cm</rd:GridSpacing>
|
|---|
| 15 | <rd:SnapToGrid>true</rd:SnapToGrid>
|
|---|
| 16 | <Body>
|
|---|
| 17 | <ColumnSpacing>1cm</ColumnSpacing>
|
|---|
| 18 | <ReportItems>
|
|---|
| 19 | <Textbox Name="textbox5">
|
|---|
| 20 | <Left>0.5cm</Left>
|
|---|
| 21 | <Top>0.25cm</Top>
|
|---|
| 22 | <ZIndex>1</ZIndex>
|
|---|
| 23 | <Width>18cm</Width>
|
|---|
| 24 | <Style>
|
|---|
| 25 | <TextAlign>Center</TextAlign>
|
|---|
| 26 | <PaddingLeft>2pt</PaddingLeft>
|
|---|
| 27 | <PaddingBottom>2pt</PaddingBottom>
|
|---|
| 28 | <FontWeight>700</FontWeight>
|
|---|
| 29 | <FontSize>12pt</FontSize>
|
|---|
| 30 | <PaddingRight>2pt</PaddingRight>
|
|---|
| 31 | <PaddingTop>2pt</PaddingTop>
|
|---|
| 32 | </Style>
|
|---|
| 33 | <CanGrow>true</CanGrow>
|
|---|
| 34 | <Height>0.63492cm</Height>
|
|---|
| 35 | <Value>RANKING AGENTÃW</Value>
|
|---|
| 36 | </Textbox>
|
|---|
| 37 | <Table Name="table1">
|
|---|
| 38 | <Left>0.5cm</Left>
|
|---|
| 39 | <DataSetName>RankingAgentow</DataSetName>
|
|---|
| 40 | <Top>1.25cm</Top>
|
|---|
| 41 | <Width>18cm</Width>
|
|---|
| 42 | <Details>
|
|---|
| 43 | <TableRows>
|
|---|
| 44 | <TableRow>
|
|---|
| 45 | <TableCells>
|
|---|
| 46 | <TableCell>
|
|---|
| 47 | <ReportItems>
|
|---|
| 48 | <Textbox Name="SYMBOL_AKWIZYTORA">
|
|---|
| 49 | <rd:DefaultName>SYMBOL_AKWIZYTORA</rd:DefaultName>
|
|---|
| 50 | <ZIndex>3</ZIndex>
|
|---|
| 51 | <Style>
|
|---|
| 52 | <BorderStyle>
|
|---|
| 53 | <Default>Solid</Default>
|
|---|
| 54 | </BorderStyle>
|
|---|
| 55 | <TextAlign>Center</TextAlign>
|
|---|
| 56 | <PaddingLeft>2pt</PaddingLeft>
|
|---|
| 57 | <BorderWidth>
|
|---|
| 58 | <Default>0.5pt</Default>
|
|---|
| 59 | </BorderWidth>
|
|---|
| 60 | <PaddingBottom>2pt</PaddingBottom>
|
|---|
| 61 | <VerticalAlign>Middle</VerticalAlign>
|
|---|
| 62 | <BorderColor>
|
|---|
| 63 | <Default>LightGrey</Default>
|
|---|
| 64 | </BorderColor>
|
|---|
| 65 | <PaddingRight>2pt</PaddingRight>
|
|---|
| 66 | <PaddingTop>2pt</PaddingTop>
|
|---|
| 67 | </Style>
|
|---|
| 68 | <CanGrow>true</CanGrow>
|
|---|
| 69 | <Value>=Fields!SYMBOL_AKWIZYTORA.Value</Value>
|
|---|
| 70 | </Textbox>
|
|---|
| 71 | </ReportItems>
|
|---|
| 72 | </TableCell>
|
|---|
| 73 | <TableCell>
|
|---|
| 74 | <ReportItems>
|
|---|
| 75 | <Textbox Name="WARTOSC">
|
|---|
| 76 | <rd:DefaultName>WARTOSC</rd:DefaultName>
|
|---|
| 77 | <ZIndex>2</ZIndex>
|
|---|
| 78 | <Style>
|
|---|
| 79 | <BorderStyle>
|
|---|
| 80 | <Default>Solid</Default>
|
|---|
| 81 | </BorderStyle>
|
|---|
| 82 | <TextAlign>Center</TextAlign>
|
|---|
| 83 | <PaddingLeft>2pt</PaddingLeft>
|
|---|
| 84 | <BorderWidth>
|
|---|
| 85 | <Default>0.5pt</Default>
|
|---|
| 86 | </BorderWidth>
|
|---|
| 87 | <PaddingBottom>2pt</PaddingBottom>
|
|---|
| 88 | <VerticalAlign>Middle</VerticalAlign>
|
|---|
| 89 | <Format>C</Format>
|
|---|
| 90 | <BorderColor>
|
|---|
| 91 | <Default>LightGrey</Default>
|
|---|
| 92 | </BorderColor>
|
|---|
| 93 | <PaddingRight>2pt</PaddingRight>
|
|---|
| 94 | <PaddingTop>2pt</PaddingTop>
|
|---|
| 95 | <Language>pl</Language>
|
|---|
| 96 | </Style>
|
|---|
| 97 | <CanGrow>true</CanGrow>
|
|---|
| 98 | <Value>=Fields!WARTOSC.Value</Value>
|
|---|
| 99 | </Textbox>
|
|---|
| 100 | </ReportItems>
|
|---|
| 101 | </TableCell>
|
|---|
| 102 | <TableCell>
|
|---|
| 103 | <ReportItems>
|
|---|
| 104 | <Textbox Name="ILOSC">
|
|---|
| 105 | <rd:DefaultName>ILOSC</rd:DefaultName>
|
|---|
| 106 | <ZIndex>1</ZIndex>
|
|---|
| 107 | <Style>
|
|---|
| 108 | <BorderStyle>
|
|---|
| 109 | <Default>Solid</Default>
|
|---|
| 110 | </BorderStyle>
|
|---|
| 111 | <TextAlign>Center</TextAlign>
|
|---|
| 112 | <PaddingLeft>2pt</PaddingLeft>
|
|---|
| 113 | <BorderWidth>
|
|---|
| 114 | <Default>0.5pt</Default>
|
|---|
| 115 | </BorderWidth>
|
|---|
| 116 | <PaddingBottom>2pt</PaddingBottom>
|
|---|
| 117 | <VerticalAlign>Middle</VerticalAlign>
|
|---|
| 118 | <BorderColor>
|
|---|
| 119 | <Default>LightGrey</Default>
|
|---|
| 120 | </BorderColor>
|
|---|
| 121 | <PaddingRight>2pt</PaddingRight>
|
|---|
| 122 | <PaddingTop>2pt</PaddingTop>
|
|---|
| 123 | </Style>
|
|---|
| 124 | <CanGrow>true</CanGrow>
|
|---|
| 125 | <Value>=Fields!ILOSC.Value</Value>
|
|---|
| 126 | </Textbox>
|
|---|
| 127 | </ReportItems>
|
|---|
| 128 | </TableCell>
|
|---|
| 129 | <TableCell>
|
|---|
| 130 | <ReportItems>
|
|---|
| 131 | <Textbox Name="srednio">
|
|---|
| 132 | <rd:DefaultName>srednio</rd:DefaultName>
|
|---|
| 133 | <Style>
|
|---|
| 134 | <BorderStyle>
|
|---|
| 135 | <Default>Solid</Default>
|
|---|
| 136 | </BorderStyle>
|
|---|
| 137 | <TextAlign>Center</TextAlign>
|
|---|
| 138 | <PaddingLeft>2pt</PaddingLeft>
|
|---|
| 139 | <BorderWidth>
|
|---|
| 140 | <Default>0.5pt</Default>
|
|---|
| 141 | </BorderWidth>
|
|---|
| 142 | <PaddingBottom>2pt</PaddingBottom>
|
|---|
| 143 | <VerticalAlign>Middle</VerticalAlign>
|
|---|
| 144 | <Format>C</Format>
|
|---|
| 145 | <BorderColor>
|
|---|
| 146 | <Default>LightGrey</Default>
|
|---|
| 147 | </BorderColor>
|
|---|
| 148 | <PaddingRight>2pt</PaddingRight>
|
|---|
| 149 | <PaddingTop>2pt</PaddingTop>
|
|---|
| 150 | <Language>pl</Language>
|
|---|
| 151 | </Style>
|
|---|
| 152 | <CanGrow>true</CanGrow>
|
|---|
| 153 | <Value>=Fields!srednio.Value</Value>
|
|---|
| 154 | </Textbox>
|
|---|
| 155 | </ReportItems>
|
|---|
| 156 | </TableCell>
|
|---|
| 157 | </TableCells>
|
|---|
| 158 | <Height>0.75cm</Height>
|
|---|
| 159 | </TableRow>
|
|---|
| 160 | </TableRows>
|
|---|
| 161 | </Details>
|
|---|
| 162 | <Header>
|
|---|
| 163 | <TableRows>
|
|---|
| 164 | <TableRow>
|
|---|
| 165 | <TableCells>
|
|---|
| 166 | <TableCell>
|
|---|
| 167 | <ReportItems>
|
|---|
| 168 | <Textbox Name="textbox1">
|
|---|
| 169 | <rd:DefaultName>textbox1</rd:DefaultName>
|
|---|
| 170 | <ZIndex>7</ZIndex>
|
|---|
| 171 | <Style>
|
|---|
| 172 | <BorderStyle>
|
|---|
| 173 | <Default>Solid</Default>
|
|---|
| 174 | </BorderStyle>
|
|---|
| 175 | <TextAlign>Center</TextAlign>
|
|---|
| 176 | <PaddingLeft>2pt</PaddingLeft>
|
|---|
| 177 | <BorderWidth>
|
|---|
| 178 | <Default>0.5pt</Default>
|
|---|
| 179 | </BorderWidth>
|
|---|
| 180 | <PaddingBottom>2pt</PaddingBottom>
|
|---|
| 181 | <FontWeight>700</FontWeight>
|
|---|
| 182 | <VerticalAlign>Middle</VerticalAlign>
|
|---|
| 183 | <BorderColor>
|
|---|
| 184 | <Default>LightGrey</Default>
|
|---|
| 185 | </BorderColor>
|
|---|
| 186 | <BackgroundColor>WhiteSmoke</BackgroundColor>
|
|---|
| 187 | <PaddingRight>2pt</PaddingRight>
|
|---|
| 188 | <PaddingTop>2pt</PaddingTop>
|
|---|
| 189 | </Style>
|
|---|
| 190 | <CanGrow>true</CanGrow>
|
|---|
| 191 | <Value>Agent</Value>
|
|---|
| 192 | </Textbox>
|
|---|
| 193 | </ReportItems>
|
|---|
| 194 | </TableCell>
|
|---|
| 195 | <TableCell>
|
|---|
| 196 | <ReportItems>
|
|---|
| 197 | <Textbox Name="textbox2">
|
|---|
| 198 | <rd:DefaultName>textbox2</rd:DefaultName>
|
|---|
| 199 | <ZIndex>6</ZIndex>
|
|---|
| 200 | <Style>
|
|---|
| 201 | <BorderStyle>
|
|---|
| 202 | <Default>Solid</Default>
|
|---|
| 203 | </BorderStyle>
|
|---|
| 204 | <TextAlign>Center</TextAlign>
|
|---|
| 205 | <PaddingLeft>2pt</PaddingLeft>
|
|---|
| 206 | <BorderWidth>
|
|---|
| 207 | <Default>0.5pt</Default>
|
|---|
| 208 | </BorderWidth>
|
|---|
| 209 | <PaddingBottom>2pt</PaddingBottom>
|
|---|
| 210 | <FontWeight>700</FontWeight>
|
|---|
| 211 | <VerticalAlign>Middle</VerticalAlign>
|
|---|
| 212 | <BorderColor>
|
|---|
| 213 | <Default>LightGrey</Default>
|
|---|
| 214 | </BorderColor>
|
|---|
| 215 | <BackgroundColor>WhiteSmoke</BackgroundColor>
|
|---|
| 216 | <PaddingRight>2pt</PaddingRight>
|
|---|
| 217 | <PaddingTop>2pt</PaddingTop>
|
|---|
| 218 | </Style>
|
|---|
| 219 | <CanGrow>true</CanGrow>
|
|---|
| 220 | <Value>WartoÅÄ</Value>
|
|---|
| 221 | </Textbox>
|
|---|
| 222 | </ReportItems>
|
|---|
| 223 | </TableCell>
|
|---|
| 224 | <TableCell>
|
|---|
| 225 | <ReportItems>
|
|---|
| 226 | <Textbox Name="textbox3">
|
|---|
| 227 | <rd:DefaultName>textbox3</rd:DefaultName>
|
|---|
| 228 | <ZIndex>5</ZIndex>
|
|---|
| 229 | <Style>
|
|---|
| 230 | <BorderStyle>
|
|---|
| 231 | <Default>Solid</Default>
|
|---|
| 232 | </BorderStyle>
|
|---|
| 233 | <TextAlign>Center</TextAlign>
|
|---|
| 234 | <PaddingLeft>2pt</PaddingLeft>
|
|---|
| 235 | <BorderWidth>
|
|---|
| 236 | <Default>0.5pt</Default>
|
|---|
| 237 | </BorderWidth>
|
|---|
| 238 | <PaddingBottom>2pt</PaddingBottom>
|
|---|
| 239 | <FontWeight>700</FontWeight>
|
|---|
| 240 | <VerticalAlign>Middle</VerticalAlign>
|
|---|
| 241 | <BorderColor>
|
|---|
| 242 | <Default>LightGrey</Default>
|
|---|
| 243 | </BorderColor>
|
|---|
| 244 | <BackgroundColor>WhiteSmoke</BackgroundColor>
|
|---|
| 245 | <PaddingRight>2pt</PaddingRight>
|
|---|
| 246 | <PaddingTop>2pt</PaddingTop>
|
|---|
| 247 | </Style>
|
|---|
| 248 | <CanGrow>true</CanGrow>
|
|---|
| 249 | <Value>IloÅÄ</Value>
|
|---|
| 250 | </Textbox>
|
|---|
| 251 | </ReportItems>
|
|---|
| 252 | </TableCell>
|
|---|
| 253 | <TableCell>
|
|---|
| 254 | <ReportItems>
|
|---|
| 255 | <Textbox Name="textbox4">
|
|---|
| 256 | <rd:DefaultName>textbox4</rd:DefaultName>
|
|---|
| 257 | <ZIndex>4</ZIndex>
|
|---|
| 258 | <Style>
|
|---|
| 259 | <BorderStyle>
|
|---|
| 260 | <Default>Solid</Default>
|
|---|
| 261 | </BorderStyle>
|
|---|
| 262 | <TextAlign>Center</TextAlign>
|
|---|
| 263 | <PaddingLeft>2pt</PaddingLeft>
|
|---|
| 264 | <BorderWidth>
|
|---|
| 265 | <Default>0.5pt</Default>
|
|---|
| 266 | </BorderWidth>
|
|---|
| 267 | <PaddingBottom>2pt</PaddingBottom>
|
|---|
| 268 | <FontWeight>700</FontWeight>
|
|---|
| 269 | <VerticalAlign>Middle</VerticalAlign>
|
|---|
| 270 | <BorderColor>
|
|---|
| 271 | <Default>LightGrey</Default>
|
|---|
| 272 | </BorderColor>
|
|---|
| 273 | <BackgroundColor>WhiteSmoke</BackgroundColor>
|
|---|
| 274 | <PaddingRight>2pt</PaddingRight>
|
|---|
| 275 | <PaddingTop>2pt</PaddingTop>
|
|---|
| 276 | </Style>
|
|---|
| 277 | <CanGrow>true</CanGrow>
|
|---|
| 278 | <Value>Årednio</Value>
|
|---|
| 279 | </Textbox>
|
|---|
| 280 | </ReportItems>
|
|---|
| 281 | </TableCell>
|
|---|
| 282 | </TableCells>
|
|---|
| 283 | <Height>0.75cm</Height>
|
|---|
| 284 | </TableRow>
|
|---|
| 285 | </TableRows>
|
|---|
| 286 | </Header>
|
|---|
| 287 | <TableColumns>
|
|---|
| 288 | <TableColumn>
|
|---|
| 289 | <Width>5.25cm</Width>
|
|---|
| 290 | </TableColumn>
|
|---|
| 291 | <TableColumn>
|
|---|
| 292 | <Width>5cm</Width>
|
|---|
| 293 | </TableColumn>
|
|---|
| 294 | <TableColumn>
|
|---|
| 295 | <Width>3.25cm</Width>
|
|---|
| 296 | </TableColumn>
|
|---|
| 297 | <TableColumn>
|
|---|
| 298 | <Width>4.5cm</Width>
|
|---|
| 299 | </TableColumn>
|
|---|
| 300 | </TableColumns>
|
|---|
| 301 | </Table>
|
|---|
| 302 | </ReportItems>
|
|---|
| 303 | <Height>2.75cm</Height>
|
|---|
| 304 | </Body>
|
|---|
| 305 | <rd:ReportID>b9375294-f8e7-4520-8f81-374698915f18</rd:ReportID>
|
|---|
| 306 | <LeftMargin>1cm</LeftMargin>
|
|---|
| 307 | <DataSets>
|
|---|
| 308 | <DataSet Name="RankingAgentow">
|
|---|
| 309 | <Query>
|
|---|
| 310 | <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
|
|---|
| 311 | <CommandText>SELECT [SYMBOL AKWIZYTORA], CONVERT(money, SUM(NETTO))
|
|---|
| 312 | AS WARTOSC, COUNT(*) AS ILOSC, CONVERT(money,
|
|---|
| 313 | SUM(NETTO)) / COUNT(*) AS srednio
|
|---|
| 314 | FROM dbo.REKLAMA R
|
|---|
| 315 | WHERE (({ fn YEAR([DATA ZAPÅATY]) } = { fn YEAR(GETDATE()) })) and [ZAPÅACONO]=-1
|
|---|
| 316 | GROUP BY [SYMBOL AKWIZYTORA]
|
|---|
| 317 | order by 2 desc</CommandText>
|
|---|
| 318 | <DataSourceName>BAZA_REKLAM</DataSourceName>
|
|---|
| 319 | </Query>
|
|---|
| 320 | <Fields>
|
|---|
| 321 | <Field Name="SYMBOL_AKWIZYTORA">
|
|---|
| 322 | <rd:TypeName>System.String</rd:TypeName>
|
|---|
| 323 | <DataField>SYMBOL AKWIZYTORA</DataField>
|
|---|
| 324 | </Field>
|
|---|
| 325 | <Field Name="WARTOSC">
|
|---|
| 326 | <rd:TypeName>System.Decimal</rd:TypeName>
|
|---|
| 327 | <DataField>WARTOSC</DataField>
|
|---|
| 328 | </Field>
|
|---|
| 329 | <Field Name="ILOSC">
|
|---|
| 330 | <rd:TypeName>System.Int32</rd:TypeName>
|
|---|
| 331 | <DataField>ILOSC</DataField>
|
|---|
| 332 | </Field>
|
|---|
| 333 | <Field Name="srednio">
|
|---|
| 334 | <rd:TypeName>System.Decimal</rd:TypeName>
|
|---|
| 335 | <DataField>srednio</DataField>
|
|---|
| 336 | </Field>
|
|---|
| 337 | </Fields>
|
|---|
| 338 | </DataSet>
|
|---|
| 339 | </DataSets>
|
|---|
| 340 | <Code />
|
|---|
| 341 | <Width>19cm</Width>
|
|---|
| 342 | <InteractiveHeight>29.7cm</InteractiveHeight>
|
|---|
| 343 | <Language>en-US</Language>
|
|---|
| 344 | <TopMargin>2.5cm</TopMargin>
|
|---|
| 345 | <PageHeight>29.7cm</PageHeight>
|
|---|
| 346 | </Report> |
|---|