• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1947
  • Last Modified:

Microsoft Reporting Services -- Matrix "rowNumber" wrong ?

How can I get the attached to display 1,2,3,4,5,6,... ?

Doing below textbox "EXPRESSION" fail

=RowNumber("PROJECT_NO") --> displays "1, 2, 4, ..." since it COUNTS the day records
=CountDistinct(Fields!EMP_NAME.Value, "PROJECT_NO") --> displays "9" on each line
=CountDistinct(Fields!EMP_NAME.Value, "matrix1_EMP_NAME") --> displays "1" on each line
s001.jpg
s002.jpg
0
finance_teacher
Asked:
finance_teacher
1 Solution
 
Nico BontenbalCommented:
Try
=RunningValue(Fields!EMP_NAME.Value,CountDistinct,Nothing)

Open in new window

0

Featured Post

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now