Viewing 15 posts - 181 through 195 (of 3,479 total)
Oh, sorry. Left a lot of stuff out. The files are getting imported into PowerBI (not in Fabric, or whatever MSFT calls it these days), and they do all the...
November 12, 2023 at 4:35 pm
Okay, silly me... I completely missed Reza Rad's video on it, "Aggregation to speed up the performance of a Power BI report even if all IMPORTED"
You basically create an...
November 10, 2023 at 7:27 pm
if all else fails, read the manual:
pandas.DataFrame.mean — pandas 2.1.1 documentation (pydata.org)
October 3, 2023 at 2:16 pm
In particular, the diagnosis and procedure dimensions could be handled as a multi-valued dimension
How do you mean? Could you give an example of "a diagnosis being handled as a multi-valued...
September 25, 2023 at 2:34 am
If you're going to do lots of date-related analysis, I'd just create a Calendar table with all the columns you want to group by, and then join to that in...
September 22, 2023 at 2:42 pm
Can't see your data. Without that, I'm pretty sure we can't do anything. Could you post at least some representative data? (CREATE TABLE and INSERT scripts, not pictures =) )
August 27, 2023 at 10:08 pm
Never mind. I'm a knucklehead. Bring in all the tables (seems I shouldn't have to?), filter by name, expand tables, append. "Use the force, Luke!"
July 12, 2023 at 8:39 pm
Why do you want to partition the table? Partitioning a table is for speeding up backup, not speeding up your queries.
(Where's the "SQL Howlers" article that Gail Shaw wrote about...
July 12, 2023 at 6:42 pm
Use ROW_NUMBER() OVER (PARTITION BY<field list> ORDER BY <field>) where the columns in the PARTITION BY section are the columns you would use to determine uniqueness.
Standard way to do this...
July 5, 2023 at 2:12 pm
You have to sum first, and then use LAG on that result to get what you want... like this... Oh, and since you're new, I created tables for you etc....
June 26, 2023 at 10:34 pm
are you using Tabular or Multi-dimensional?
in tabular, you don't need a separate date table. Just use ALL() to remove whatever filters you want from the evaluation context.
June 11, 2023 at 6:56 pm
Are you attempting to restore over the top of another database? (Did you change the name of the database you're restoring? You should have). Once you do that, you can...
June 4, 2023 at 11:06 pm
"But in this case the business is using Access managing their own Access db. So looking for same functionality but with a SQL Server. Please advise? Thanks in Advance!"
Maybe I...
June 3, 2023 at 9:21 pm
Could you use EXISTS () with a correlated subquery instead of APPLY? (or is that just brutally slow?)
May 26, 2023 at 7:20 pm
a generic recipe is something like this:
CREATE TABLE Recipe (
FinalProductID INT NOT NULL,
IngredientID INT NOT NULL,
Quantity INT NOT NULL CHECK (Quantity>0)
CONSTRAINT pkRecipe PRIMARY KEY (FinalProductID, IngredientID)
);
The "amount" output is the...
May 21, 2023 at 4:02 pm
Viewing 15 posts - 181 through 195 (of 3,479 total)