Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

first row of the group 2

Status
Not open for further replies.

sssdexter

Programmer
Oct 7, 2003
29
MY
Hi,

I have a grouping in DW, i like to find out every first row of the group break, how can i achieve it?

Thanks a lot.
 
Hi,

You can use FindGroupChange to find first row of group.

Thanks,
Abhijit.
 
Please try with computed expression

IF( cumulativeSum( 1 for group 1 ) = 1,1,0)

If this returns 1 then it is a first row of the group.

Regards
 
Hi,

Thanks a lot ...

one is a script in power script, one is a DW scripts. Very helpfull.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top