Viewing 15 posts - 2,431 through 2,445 (of 3,480 total)
Probably several ways to do this.
One would be to have two tablixes, one on top of the other and set one visible and the other not depending on which parameter...
June 30, 2015 at 10:19 pm
One way...
SELECT *
FROM
(SELECT DDid
, Seq
, Descrip
, ROW_NUMBER() OVER (PARTITION BY DDid, Seq ORDER BY DDid, Seq) AS rn
FROM
(SELECT 1 As DDid, 0 AS Seq, 'AAA' AS Descrip
UNION ALL
SELECT 1, 1,...
June 30, 2015 at 2:22 pm
Sounds like you need a table for this:
The order is B,BB, A, AA, AAA, & AAAA.... something like
CREATE TABLE LoookupTable(
stringValue CHAR(4) PRIMARY KEY,
Seq TINYINT...
June 29, 2015 at 9:21 pm
June 29, 2015 at 4:14 pm
Not really. It's only in TempDB because for him, it's not a permanent part of any database. you would put it in your database and not in TempDB.
The reason...
June 29, 2015 at 2:32 pm
If you're using 2010, then PowerPivot is not installed by default. (Actually, I don't think it was developed until after 2010 came out.) You have to go to MS and...
June 29, 2015 at 10:03 am
I'm cheating for a minute and assuming you're using 2012 (which you're likely not)...
CREATE TABLE salesData
(date_created date,
sales money);
GO
INSERT INTO salesData (date_created, sales)
VALUES ('6-23-15', '20000.00'),
('6-24-15', '22000.00'),
('6-25-15', '25000.00'),
('6-26-15', '28500.00'),
('6-27-15', '32000.00');
-- 2012 solution
--...
June 28, 2015 at 11:48 pm
UNION your real result set with something like
SELECT Null, Null, Null
FROM Tally
WHERE n<=@NumRows
you would need to figure out the count of missing rows to do it, but that would be...
June 27, 2015 at 5:51 pm
"because I think Power BI currently only works with SSAS cubes and is online only"
I've seen one of the WiseOwl folks (see YouTube for the video) create a Power BI...
June 26, 2015 at 3:47 pm
Couple things: this...
=SUM(Fields!PersonID.Value, "datasetname")
doesn't really make sense. PersonID.Value is essentially a random meaningless number. why not COUNT?
The other thing you may need to look into is either LOOKUP...
June 25, 2015 at 6:53 pm
June 25, 2015 at 6:33 pm
Okay, got some nice fake consumable data? Doesn't have to be real, just has to be representative of your table structure(s) ... or the output of your stored procedure...
And please...
June 25, 2015 at 5:25 pm
If all you want to do is divide your counts over a fixed population size, then it's easy. Create a variable and populate it with a COUNT from your...
June 25, 2015 at 4:17 pm
Viewing 15 posts - 2,431 through 2,445 (of 3,480 total)