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

Report Builder 2012 - Omit Certain Fields

$
0
0

I'm using SQL Server Report Builder 2012 to make a bar chart from a query I ran off. The table is great but the nature of it causes some problems in Report Builder without some tweaking which I've never used before (new to SQL in fact). Apologies for what is a difficult question to put into words and in fact took me a while to grasp in my mind.

I've got a table with three date fields in it:

REC_NO    OPEN       IN_PROGRESS    CLOSED
000111   01/01/2000  01/01/2000       01/01/2000
000112   01/01/2000 
000113   01/01/2000   01/01/2000


If there's a value in OPEN in all three cases in the above then it will count that three records are open. However, one is CLOSED and one is IN_PROGRESS. In the case above, record 00111 is closed, 000112 is open and 000113 is in progress.

My question is, is there a way to filter the results of a query in Report Builder 2012 so that if a field is populated, not to use the previous in the chart? E.g. if IN_PROGRESS is populated but CLOSED isn't, don't use OPEN.

I know that was probably a very convoluted and difficult explanation but I don't know how else to explain it.

Thanks in advance
Adam



Viewing all articles
Browse latest Browse all 10045

Trending Articles



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