Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 28687

Count Column in MATRIX if data is not Null

$
0
0

Hi

I have a table whose structure is follows:

------------------------------------------------------------
Date        EMPname       Amount1        Amount2
------------------------------------------------------------
1-Dec-12      sa          1                3
1-Dec-12      ab          11              Null  
1-Dec-12      cd          21               3
1-Dec-12      ef         Null              44
1-Dec-12      gh          2                5
1-Dec-12      ij            3                Null
----------------------------------------------------------


I want to show a report like this:

------------------------------------------------------------
  EMPname       1-Dec-12
------------------------------------------------------------
     sa                 2
     ab                1 
     cd                2

      ef               1
      gh             2
      ij               1-----------------------------------This is count of Columns that contain data
----------------------------------------------------------

is there any expression that can help me count the no of column that contain data in matrix  ,im tyring in matrix column grouping but showing wrong values.

Thanks in advance

Kumar


Viewing all articles
Browse latest Browse all 28687

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>