on ssrs how to distinct count?
so first one is the dataset i have. i grouped it by loantype, now i want the distinct count of SSN and loan (an ssn can have more than one loan). i want to achieve this on SSRS. i don't want query. suggest please.
January 24th, 2012 11:44am

try this one =CountDistinct(Fields!yourfieldName.Value) http://msdn.microsoft.com/en-us/library/ms155923(v=sql.90).aspx Hope this will help you !!! Sanjeewan
Free Windows Admin Tool Kit Click here and download it now
January 24th, 2012 11:49am

that doesn't help me... okay, i want to add a column to right and use your function , do i need to select inside group or outside group ? what dosit mean. adn why am i not able to remove the last column?
January 24th, 2012 12:14pm

Check http://www.sqlservercentral.com/Forums/Topic608689-150-1.aspx CountDistinct Function (Reporting Services) CountDistinct Function (Report Builder 3.0 and SSRS)
Free Windows Admin Tool Kit Click here and download it now
January 24th, 2012 12:26pm

but can some one tell me y i am not able to delete the last column?
January 24th, 2012 12:45pm

what error are u getting when u r trying to delete the last column? what's the structure of u table or matrix?
Free Windows Admin Tool Kit Click here and download it now
January 24th, 2012 1:05pm

tablix body must contain at at least one column. just a tablix matrix.
January 24th, 2012 1:10pm

How many rows and columns do u have apart from that last column?
Free Windows Admin Tool Kit Click here and download it now
January 24th, 2012 1:15pm

How many rows and columns do u have apart from that last column? You will have to keep atleast one row and one column in that matrix for it to qualify as a matrix....You cannot have only rows or only colmns in a matrix...
January 24th, 2012 1:16pm

so at least can i hide it?
Free Windows Admin Tool Kit Click here and download it now
January 24th, 2012 1:18pm

u gotta try it once as i can't try it now... i am at home and don't have SSRS installed on my laptop :( but i think u can hide it provided u have included a data field in it.
January 24th, 2012 1:22pm

i tried iif( "test" = "test" , false, true ) in visibility but it hides the whole table
Free Windows Admin Tool Kit Click here and download it now
January 24th, 2012 1:24pm

u want to hide the column permanently or based on a condition?
January 24th, 2012 1:28pm

permanently.
Free Windows Admin Tool Kit Click here and download it now
January 24th, 2012 1:50pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics