我在一个数据源上有一个带有条形图和饼图的主报表。这些图表使用单个标记对每行计数数据,每个图表都有一个单独的数据集,其中包含在查询中应用的过滤器。
我还有一个辅助报告,我想用它来显示从图表中选择的行。我已经设置了多值参数,没有可用或默认的结果,以及带有'IN'子句的过滤器。
我已将每个图表的系列属性设置为“转到报告”,并将标记号传递给多值参数。
这不起作用,只显示我选择的数据区域的1行。如何让它显示数据区域中的所有行?
如果这有帮助,标记是整数。
如果您需要进一步澄清,请告诉我。
非常感谢
更新:一个条形图数据的查询如下:
SELECT LEARNERS.Firstname, LEARNERS.Surname, LEARNERS.DOB, LEARNERS.Gender, LEARNERS.Disability, LEARNERS.NewEthnic, L_QUALS.Qual_Ref, QUALIFICATIONS_1.QualLevel, QUALIFICATIONS_1.Title, L_QUALS.DateStarted, L_QUALS.DateFinished, L_QUALS.CompletionStatus, L_QUALS.Completeness, L_QUALS.DatePlannedEnd, L_QUALS.Delivery_ID, ORGANISATIONS.Name, L_QUALS.Learner_ID, SC_Ethnic.Description AS EthnicityDesc, LEARNERS.PriorAttainLevel, SC_PriorAttain.Description AS PriorDesc, QUALIFICATIONS_1.ALIBand, LEARNERS.ContractNumber, L_QUALS.FundingStream, L_QUALS.DeliveryMethod, L_QUALS.ProgrammeType, LEARNERS.DestinationCode, SC_Dest.Description, L_QUALS.CreditsAchieved, QUALIFICATIONS.ALIBand AS FwkALIBand, L_QUALS.AimType, L_QUALS.Qual_ID
FROM L_QUALS INNER JOIN
LEARNERS ON L_QUALS.Learner_ID = LEARNERS.Learner_ID INNER JOIN
SC_Dest ON LEARNERS.DestinationCode = SC_Dest.Key_Ref AND LEARNERS.LearnerType = SC_Dest.LearnerType LEFT OUTER JOIN
QUALIFICATIONS ON L_QUALS.Sector = QUALIFICATIONS.Sector LEFT OUTER JOIN
ORGANISATIONS ON L_QUALS.Delivery_ID = ORGANISATIONS.Org_ID LEFT OUTER JOIN
QUALIFICATIONS AS QUALIFICATIONS_1 ON L_QUALS.Qual_Ref = QUALIFICATIONS_1.Qual_Ref FULL OUTER JOIN
SC_PriorAttain ON LEARNERS.PriorAttainLevel = SC_PriorAttain.Key_Ref AND LEARNERS.LearnerType = SC_PriorAttain.LearnerType FULL OUTER JOIN
SC_Ethnic ON LEARNERS.NewEthnic = SC_Ethnic.Key_Ref AND LEARNERS.LearnerType = SC_Ethnic.LearnerType
WHERE (L_QUALS.DatePlannedEnd > CONVERT(DATETIME, '2012-07-31 00:00:00', 102)) AND (L_QUALS.DatePlannedEnd <= @prmDateFrom) AND (L_QUALS.DatePlannedEnd < CONVERT(DATETIME, '2013-08-01 00:00:00', 102)) AND (L_QUALS.Qual_Ref <> 'ZESF0001') AND (L_QUALS.AimType = '1' OR L_QUALS.AimType = '4')
ORDER BY L_QUALS.Learner_ID
条形图是:数据 - (计数(QualID)和类别= TimelyAchiever,它是一个计算字段,如下所示:
=IIF(
(Fields!Completeness.Value = 1) AND
(Fields!DateFinished.Value <= Parameters!prmDateFrom.Value) AND
(DateDiff(DateInterval.Day,Fields!DateFinished.Value,Fields!DatePlannedEnd.Value) < 91)
,"Achiever",(
IIF((Fields!Completeness.Value = 2) OR (IsNothing(Fields!Completeness.Value)) AND
(Fields!DateFinished.Value <= Parameters!prmDateFrom.Value) AND
(DateDiff(DateInterval.Day,Fields!DateFinished.Value,Fields!DatePlannedEnd.Value) < 91)
,"Continuing","No/Untimely Achievement")))
在评论中开始此回复的道歉,对网站来说是新的。非常感谢任何帮助。