Quantcast
Channel: SQL Server Reporting Services
Viewing all articles
Browse latest Browse all 1418

RDLC - get max depth for recursive hierarchy

$
0
0

Hi,

i have created a simple report  with a recursive hierarchy structure. Is it possible to get the max depth  of the hierarchy?

What i want to do is to bold all rows except those rows on the last level, as shown in the following example

1 Users

1.1 Internal users

1.1.0 Admin

1.1.1 Developer

1.2 External users

1.2.0 Guest

In this case i would like to use some expressions like this

=Iif(Level() < MAXLEVELDEPTH, "Bold", "Normal")


Viewing all articles
Browse latest Browse all 1418

Trending Articles