我在SSRS中创建了这个表:
我想仅在计算机更改ProductName而不是所有格式时显示。在上图中我只想显示: 08.01.16 - M102 - Roller 11.01.16 - M102 - 空白
我的问题:
SELECT
c.Datum,
c.Team,
c.Name,
c.Product,
c.System
FROM (
Select
intervaldate as Datum
,tsystem.Name as Name
,ProductName As Product
,teamname as Team
,SUM(GoodUnits) / NULLIF(SUM(TheoreticalUnits) , 0.0)* 100 As System
from tCount
where IntervalDate >= @StartDateTime AND IntervalDate <= @EndDateTime
and systemID in (Select SystemID from tSystem whereViewID in (21,25,6))
group by intervaldate, teamName, tsystem.Name, ProductName
) c
inner join(
SELECT
sc.Name as Name
FROM tCalendar sh
INNER JOIN tSchedule sc ON (sc.ID = sh.ScheduleID)
WHERE Scheduled != 0
) p ON p.Name = c.Name
我想在每台机器上只显示此更改。 是否可以在表格中显示它?