Quantcast
Channel: User Randy Minder - Stack Overflow
Browsing latest articles
Browse All 38 View Live

Comment by Randy Minder on DirectQuery - Very inefficient queries being...

You missed the point. I never said I wanted to increase the limit. The queries being sent to Snowflake are very suboptimal.

View Article



Comment by Randy Minder on DirectQuery - Very inefficient queries being...

Thanks Andrey - I know it's not a transformation affecting query folding issue because I'm not doing any transformations on the dimension table.

View Article

Comment by Randy Minder on What does refreshing a Dataflow in the PBI service...

Thanks Peter - Great answer. I am using DirectQuery against a dataflow. Therefore, based on your answer, I will need to refresh my dataflows or I could potentially get stale data. Correct?

View Article

Comment by Randy Minder on Unable to download dataset from Power BI service

Yes, I uploaded it and then attempted to download it. However, if this were a permissions error, wouldn't the error state that?

View Article

Comment by Randy Minder on Can an Analysis Services ABF file be restored, or...

Is the BackupRestore image you included in your answer part of the new functionality that is coming later? I don't see it in my PBI Services tenant.

View Article


Comment by Randy Minder on Power BI Service - Usage Metrics Report - Outdated...

Hi David and thank you. When I click on the Settings icon in one of my workspaces I do not see "Manage Group Storage". I see links for About, Premium and Azure Connections. Clicking on any of these...

View Article

Comment by Randy Minder on Unable to delete dataset because it's included in...

Thanks @Marcus. The dataset in question has not been included in the app for months.

View Article

Image may be NSFW.
Clik here to view.

Cross Origin Resource Sharing (CORS) Error - Can this be blocked at the client?

I have a web app that performs several CORS operations using $.getJSON AJAX calls. Normally, on most client browsers, this works fine because the server my app is hitting has CORS enabled. However, I...

View Article


Lists and brackets [duplicate]

I'm new to R and trying to understand a few things about lists. Say I have the following:n = c(2, 3, 5) s = c("aa", "bb", "cc", "dd", "ee")b = c(TRUE, FALSE, TRUE, FALSE, FALSE)x = list(n, s, b, 3)I...

View Article


Image may be NSFW.
Clik here to view.

Unable to RDP into my Azure VM because of inbound rule?

I recently installed Norton Antivirus on my Azure VM. As soon as I did, I lost my RDP connection. Now I'm not able to RDP into my VM. I saw this message in my portal:So I took a look at my inbound...

View Article

Updates to reports contained in apps - Do I need to refresh the app?

Say report 'A' is contained in an app. Assume I add a column to a table and republish the report. Do I always need to refresh the app for users to see this new column?

View Article

Automapper - Does it map lists of objects?

I have the following Automapper defintion:Mapper.CreateMap<IB.BusinessComponents.Data.LocationMaster, IB.Entites.Master.Location>();Mapper.CreateMap<IB.BusinessComponents.Data.LocationMaster,...

View Article

SMO - Transfer - Cannot get the event handlers to fire

I am using SMO (C#) to copy data from one table to another, with the following code:public static void PopulateStagingTable() { Console.WriteLine("Copy data to staging table..."); string...

View Article


Answer by Randy Minder for SQL Management Studio won't recognize a table...

You probably did what I always do. I often create a table while connected to the wrong database, or the default database. For me, the default database is 'master' so I have a lot of garbage in my...

View Article

SSMS - Generate Scripts - Data Only doesn't work with views?

I am trying to generate a data only script for a view using SSMS Generate Scripts feature. However, even though I select Data Only, it still only generates the view definition and not the data...

View Article


Can an Analysis Services ABF file be restored, or converted, to a PBIX?

Is it possible to use Analysis Services to create an ABF backup file and then somehow restore it, or convert it, to a PBIX file? I know that an ABF file only contains data and metadata, but that is all...

View Article

SQL Server IN vs. EXISTS Performance

I'm curious which of the following below would be more efficient?I've always been a bit cautious about using IN because I believe SQL Server turns the result set into a big IF statement. For a large...

View Article


Image may be NSFW.
Clik here to view.

SUMMARIZE - Not allowing me to add a related table

A co-worker has asked me to help her with an issue she is having. Her data model looks as follows:She is using SUMMARIZE to build the Jobs table. In part, the DAX looks like this:Jobs =...

View Article

Answer by Randy Minder for SQL comments on create table on SQL Server 2008

You can put comments on both tables and columns by creating what are called Extended Properties. You can put extended properties at both the table level and column level. This can be done via T-SQL or...

View Article

Command for adding a default constraint

There appears to be at least two ways to add a default constraint using straight T-SQL. Am I correct that the only difference between the two below is that the second method specifically creates a name...

View Article

SSIS Package - Execution Timed Out error

I have dozens of SSIS packages being executed on various schedules, all controlled via the SQL Agent. Sometimes I'll notice a job hasn't fired on its regular schedule and I'll check the History of the...

View Article


Image may be NSFW.
Clik here to view.

Azure App Service Metrics - How to interpret Sum vs. Count related to requests?

Below is a screen shot of an Excel file downloaded from Azure showing metrics on the number of requests our web app is getting.Notice the rows highlighted in yellow and orange. The 128, 177 and 138...

View Article


Entity Framework 6 - How to determine stored procedure input parameters

I'm using EF6 and I've imported some stored procedures. Is there a way I can programmatically determine what the input parameters are for a particular procedure? I'd like to auto-generate some C# code...

View Article

Image may be NSFW.
Clik here to view.

Is it possible to rename an Azure App Service?

I created an Azure Function but didn't pay attention to the name of the App Service being created.Is it possible to rename an Azure App Service from the Azure Portal? I couldn't find an obvious way to...

View Article

SQL DMV Queries & Cached Plans

My understanding is that some of the DMV's in SQL Server depend on query plans being cached. My questions are these. Are all query plans cached? If not, when is a query plan not cached? For ones that...

View Article


Image may be NSFW.
Clik here to view.

Unable to delete dataset because it's included in a published app - but it isn't

I am trying to delete a dataset from one of our premium workspaces and am getting an error saying it's included in the published app. However, as you can see below, the dataset in question...

View Article

XML Serialization and a Class with Binary Property - How can I get this to work?

I have the following serialization method shown below. The problem is that I am attempting to pass a class to it that contains a property of type Binary. The serialization is failing because of this...

View Article

SQL Server 2008 - Capturing all SQL Statements Hitting the Server

Can anyone suggest options we might have in capturing all SQL statements being sent to our SQL Server, outside of running Profiler? I'm aware of a couple ways of doing it, but want to make sure I'm not...

View Article

Splitting/Combining Partial Methods

I understand partial methods can be used to split the definition of a method across multiple files. I'm curious though if it's permissible to have each definition of a method across multiple files...

View Article



Image may be NSFW.
Clik here to view.

Power BI Service - Usage Metrics Report - Outdated usage data

We have Power BI Premium and many times when I want to see the usage metrics of a report, I see the following message at the bottom of the report:The problem is that I can never find where the dataset...

View Article

SQL Server - How to insert into Varbinary(Max) column?

I have a table that looks as follows below. I don't really want to create a C# application to insert rows into this table, if I can avoid it, because of the VarBinary column. My intent is to store a...

View Article

Image may be NSFW.
Clik here to view.

Column defined in source Dataset could not be found in the actual source

I have an ADF Copy Data flow and I'm getting the following error at runtime:My source is defined as follows:In my data set, the column is defined as shown below:As you can see from the second image,...

View Article

Shared Assembly - Is Signing Required?

If I want to build a shared assembly, does that require the overhead of signing and managing key pairs? If so, is there a best practice approach to doing so?

View Article


Row callback function, find a column by name, not by number

In my datatables table, I have a row callback function defined like this:'rowCallback': function (row, data, index) { rowCallback(row, data, index);},The Javascript function that is called looks like...

View Article

WPF - Why isn't Keyboard.Focus() working?

have a TextBox item (MyTextBox) on a TabItem control. I have code that looks as follows:MyTextBox.Focus();Keyboard.Focus(MyTextBox);When I run this code through the debugger I see the following after...

View Article

Answer by Randy Minder for LINQ to SQL DataContext and Connection Problems

What you did is not going to work. A database context is a connection to a single database. You should not attempt to add tables from other databases to a particular context. In fact, this probably...

View Article


Stopwatch vs. using System.DateTime.Now for timing events

I wanted to track the performance of my code so I stored the start and end time using System.DateTime.Now. I took the difference between the two as the time my code to execute. I noticed though that...

View Article

Browsing latest articles
Browse All 38 View Live


Latest Images