Viewing 15 posts - 61 through 75 (of 623 total)
Here is a tsql technique where your dataset returns individual sales and a comment that tests whether a sale exists in the prior two months.
You'll need to adapt to your...
January 23, 2023 at 4:44 pm
Can you share the query used in the dataset of the report?
January 19, 2023 at 11:41 pm
Check SSRS caching-https://learn.microsoft.com/en-us/sql/reporting-services/report-server/set-report-processing-properties?redirectedfrom=MSDN&view=sql-server-ver16
December 15, 2022 at 8:11 pm
This should get you started.
SELECT
C2.Name AS Data_Source_Name,
C.Name AS Dependent_Item_Name,
C.Path AS Dependent_Item_Path
FROM ReportServer.dbo.DataSource AS DS
INNER JOIN ReportServer.dbo.Catalog AS C
ON DS.ItemID = C.ItemID AND DS.Link IN (SELECT ItemID FROM...
December 13, 2022 at 6:31 pm
Thanks Martin, That certainly looks viable. Since I am more of a TSQL rather than a SSIS proponent I probably will go in this direction.
--https://www.mssqltips.com/sqlservertip/2790/dynamic-xmla-using-tsql-for-sql-server-analysis-services/
DECLARE @myXMLA NVARCHAR(MAX)
SET...
December 5, 2022 at 5:43 pm
As a test you may want to add 'N/A' to FullName and see what happens.
In the sql query you can uses COALESCE. COALESCE(FullName, 'N/A')
Are you grouping by FullName in the...
November 25, 2022 at 7:49 pm
Yes a unique index can be created on Entity, Attribute, and StartDate and yes this is a Slowly Changing Dimension format. Refined code and data below.
At this point my performance...
November 25, 2022 at 4:08 pm
Thanks Jeff
There is not a UNIQUE column in the table to identify individual rows with. Its an EAV slowly changing dimension.
DROP TABLE IF EXISTS #Test
CREATE TABLE #Test
(
Entity VARCHAR(20),
Attribute VARCHAR(800),
AttributeType VARCHAR(10),--This...
November 23, 2022 at 10:15 pm
Thank you both for replying. I apologize for my delayed response, I though I would get an email when follow-ups were posted.
I am trying to validate data during an ETL...
November 23, 2022 at 3:30 pm
Following up.
My questions where really about the use of the SUBSTRING parameters start and length but after your hint and a little further study the use has become clear to...
August 22, 2022 at 6:45 pm
@Chrissy321...
Did that last hint help you succeed?
I am moving ahead with technical review/testing of code based on what you provided so yes. Thanks. When I have a bit more...
August 18, 2022 at 8:10 pm
Conversion failed when converting date and/or time from character string.
The modified script I posted updates the data structure and will generate the error when run.
August 16, 2022 at 9:52 pm
Thanks Jeff this looks fantastic! I truly appreciate the time you took to put this together.
I am having some issues converting to my actual data structure. Apologies, I need to...
August 16, 2022 at 8:44 pm
Hello Again,
Still working on this issue. My previous requirements to have a view and no CTEs no longer apply.
I am close to a working solution but I'd like to clean...
August 12, 2022 at 7:44 pm
Adding PARTITION BY ID to the SELECT INTO works with data I provided. In my real data I am getting the first value rather than the previous. Larger issue is...
August 5, 2022 at 11:03 pm
Viewing 15 posts - 61 through 75 (of 623 total)