Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
cristian_av
Creator III
Creator III

Fill Cross Table

Hi

I have data with the following format:

Role           User

Admin        User1

Admin        User2

Admin        User3

Role2        User2

....

And I need to create a Table like this:

borrar.png

Wich expression should I use in my table?

I've tried with "=1", but it puts a 1 in all the records, so it's useless.

Thanks!!

1 Solution

Accepted Solutions
marcus_sommer

Try it with: count(User)

- Marcus

View solution in original post

3 Replies
marcus_sommer

Try it with: count(User)

- Marcus

german24
Partner - Contributor III
Partner - Contributor III

Hi,

try this...

Best regards,

German

el_aprendiz111
Specialist
Specialist

Hi,

DATA:
LOAD *, 1 AS COUNT;
LOAD * Inline
[
Role,User
Admin,User1
Admin,User2
Admin,User3
Role2,User2
]
;
EXIT Script;

COUNT.png