reporting

SSRS Total from sub-group to parent group

◇◆丶佛笑我妖孽 提交于 2019-12-25 18:31:04
问题 I'm trying to calculate the total sum of a filtered child group in the cell "Anzahl" in the parent group. As you can see on the example screenshot, in the child group are two numbers 15 and 5 and the cell in the parent group show 24 instead of 20. Screenshots: https://dl.dropboxusercontent.com/u/17838009/screenshot.jpg https://dl.dropboxusercontent.com/u/17838009/screenshot2.jpg =Countrows("table1_dc_evn_vpkn") This throws the error: "The scope parameter must be set to a string constant that

Export jsf page to PDF

拈花ヽ惹草 提交于 2019-12-25 16:39:07
问题 I have a page with line and pie charts and I would like to generate a PDF report with those charts. How can I achieve this? I tried with <p:dataExporter> , but it works only on tables. Here is my code <p:layoutUnit position="west" size="70%" > <p:chart type="line" model="#{reportMscBean.model}" id="chart" style="width:700px;height:280px"/> <p:separator></p:separator> <p:chart type="line" model="#{reportMscBean.model2}" style="width:700px;height:280px" id="graphe2"/> </p:layoutUnit> <p

Grouping by parameter value in jasper

核能气质少年 提交于 2019-12-25 12:46:08
问题 Well, I don't know, maybe I'm missing something, but I've been trying to group data in a jasper report, but so far the grouping appears only if the group expression is a field. Is it possible to group data by parameter value instead of field value? i.e., something like <groupExpression><[!CDATA[$P{some_param}]]></groupExpression> instead of <groupExpression><[!CDATA[$F{some_field}]]></groupExpression> in the .jrxml file? 回答1: Is it possible to group data by parameter value instead of field

Generate document with plots based on template, Python3

£可爱£侵袭症+ 提交于 2019-12-25 07:49:28
问题 I have a Python3 GUI, where user selects certain values to be statistically evaluated and/or plotted (hist). Out of this GUI on users request I want to create a report, prefferebly in DOC or/and ODT or/and PDF formats. The layout of the report is pretty much fixed, what will change is: the names of the selected measures and the corresponding values (there are always three measures to display - user selects which), matplotlib histogram (will change depending on the selected settings), user

How to approach production of PDF and RTF reports in a WPF application?

老子叫甜甜 提交于 2019-12-25 07:29:50
问题 Background I am working on a WPF application that I need to implement reporting functionality for, in PDF and RTF formats. The reports are mostly tabular. The application doesn't have a database. Instead its data is taken from local XML files from which I create View Models which are in turn passed to the UI for presentation to the user. I need to use these View Models for the reports. Question What is the best way for me to approach this requirement, so that I can use my existing View Models

displaying reporting weeks

扶醉桌前 提交于 2019-12-25 05:15:51
问题 I dont know how to loop through so that the query displays all the weeks from the reporting date? The code determines the Mon - Sun week then should insert the values in a temp table to then query the weeks. I have hard coded the report_date and its hould display more than one record. any ideas DECLARE @REPORT_DATE DATETIME, @WEEK_BEGINING VARCHAR(10) SELECT @REPORT_DATE = '2011-01-01T00:00:00' --SELECT @REPORT_DATE = GETDATE() -- should grab the date now. SELECT @WEEK_BEGINING = 'MONDAY' IF

Loading Byte image on SSRS from database

邮差的信 提交于 2019-12-25 03:56:24
问题 How to load Byte data into the image box of SSRS The data is saved in the image field of the database. Could you give me expression for it? Thanks / Furqan 回答1: Right click the image object in the report --> Image Properties, you will see this dialog: In "Use this field: " select your dataset value that contains the image info In "Use this MIME type:" select the type of image file it is (jpg,png,bmp etc) 来源: https://stackoverflow.com/questions/6876452/loading-byte-image-on-ssrs-from-database

To use a data region in a list, the list must have group expressions?

天大地大妈咪最大 提交于 2019-12-25 01:43:53
问题 Q: I'm trying to control the visibility of the report sections.So I use a List.Each list will contain : A text box as a title for this section. A Table for the data. If the Table has no rows ,I will hide the list. After assigning the data source name to the list and to the table. and trying to run. I get the following error. The table ‘.....’ is in a list that has no group expressions defined for it. To use a data region in a list, the list must have group expressions. How to fix this problem

How to display a directory full of junit test result files

若如初见. 提交于 2019-12-25 01:17:43
问题 As part of testing in the cloud, I plan to copy my test results (I happen to be using gradle) as xml out of a short lived container to an s3 bucket. I am wondering what is the best approach for making use of the bucket full of test results and if anyone has ideas for how to get the most of these results with the least custom code, etc. In the past I have handled this with XSLT to make the XML into HTML but that approach feels like more work than I'd like to have to do. Has anyone solved this

How to merge rows of SQL data on column-based logic?

夙愿已清 提交于 2019-12-24 17:14:00
问题 I'm writing a margin report on our General Ledger and I've got the basics working, but I need to merge the rows based on specific logic and I don't know how... My data looks like this: value1 value2 location date category debitamount creditamount 2029 390 ACT 2012-07-29 COSTS - Widgets and Gadgets 0.000 3.385 3029 390 ACT 2012-07-24 SALES - Widgets and Gadgets 1.170 0.000 And my report needs to display the two columns together like so: plant date category debitamount creditamount ACT 2012-07