Viewing 15 posts - 256 through 270 (of 3,475 total)
Please provide DDL & sample input data, & show the expected results vs. the actual results
How about a CREATE TABLE and INSERT scripts so we have actual data and not...
December 15, 2022 at 10:01 pm
Create a stored procedure that creates and uses all the temp tables you want. Then at the end return records from your temp tables.
In PowerBI, Get Data -> From SQL...
December 4, 2022 at 11:21 pm
Is this a DAX question? DAX answers are super weird, because the language is strange (from a SQL perspective). But super easy in DAX.
=DIVIDE (
COUNTROWS('Table1'),
CALCULATE(
COUNTROWS('Table1'),
ALL('table1')
)
)
haven't done this in SSRS in...
December 2, 2022 at 6:04 pm
I need to join the second table sorted by dt_mev descending order, so that the first linked row will be the latest record on table 2.
Don't use INNER/OUTER JOIN. use...
November 21, 2022 at 10:04 pm
In other words, once you've connected, it's pretty much the same as working with a SQL Server database?
If I can execute a stored procedure in PostGreSQL, I assume I can...
November 15, 2022 at 5:07 am
sample data = CREATE TABLE and INSERT scripts, so we have a table of data to work with. Or maybe you really don't want any help?
November 11, 2022 at 9:00 pm
Sorry, been doing other things for a while... =)
That's kinda what I was thinking. Using FILTER() to return a table of Ingredient Price records that are "active" for the given...
November 9, 2022 at 2:25 am
I would think you should either split the date / time column into two columns - one with just the date and the other with just the time, or use...
November 8, 2022 at 10:14 pm
where's your multi-valued parameter defined? In the stored procedure or in the report? I would try using IN() with the report multi-valued parameter and see if that fixes it.
November 6, 2022 at 7:54 pm
Did you see this?
Using Recursion and Date Tables to Simplify Date Logic
then you'd just filter it down (inside the CTE) so that it only returns Mondays.
November 3, 2022 at 2:17 am
Are your results already in a table?
Sounds like these are all separate questions... Could you post a script that creates and populates a table with your sample data?
November 2, 2022 at 5:48 pm
If you have a Calendar table (or a table valued function to return all the dates between the start date and end date), then you can outer join your data...
October 31, 2022 at 6:55 pm
Not much to go on here. Are the databases radically different (no similar tables)? Or do they have lots of similar / same tables?
one way of doing this is to...
October 27, 2022 at 10:52 pm
if a customer dont have any orders for continous 100 day period then the account consider as inactive (for the month of 100day addition to latest CustOrderDay). if no order...
October 25, 2022 at 3:05 am
Then create the queries you need in your SQL database, and then use SSIS to run the queries and output the data to whatever format and location you want. then...
October 25, 2022 at 2:54 am
Viewing 15 posts - 256 through 270 (of 3,475 total)