Expected output required
i want countra Head , Create table #Tbl_Customer (C_ID int,C_Name varchar(50)) Create table #tbl_Ledger (ID int,E_Date date,Debit_Head_ID int,Credit_Head_ID int,T_Amount Decimal(10,2),Countra_ID int ) insert into #Tbl_Customer values…
SQL Server
1<sup>st</sup> Question : Currently customer is buying each SQL license with 10CALS, but In future they may require more CALs. Please advise if they can purchase more CALs later on which will be incorporated with these already purchased…
how to trim values of xml attribute?
Hi, I want to trim @cotd so is there any function which can do it. SELECT LTRIM(RTRIM(R.C.value('@Name','nvarchar(100)'))) FROM @xm.nodes('/test[ fn:lower-case(@cotd) !=""]') AS R(C)
How to grant model permission to role
I use a tabular model. I need to grant model permission to one role. Can I use a TSQL statement to do it like Sql server Admin grants permissions? Thank.
Can i use sql sever data tool in enterprise organization with more than 250 employee count SSIS, SSAS with visual studio community free license.
Hi, Help me with your expert advice can we use SQL server data tool in enterprise organization with more than 300 employee count along with SSIS and SSAS with visual studio community free license
Nested TOPCOUNT between 2 attributes within same dimension using GENERATE function not giving desired results
Hi, I am trying to achieve top 5 subcategories for each of the category in top 5 categories. I have used GENERATE and TOPCOUNT as shown in the below code for achieving the result. But it isn’t working as expected. Instead of returning top 5…
The workspace database server localhost is not found ( SSAS PROJECT)
Good evening everyone :) I Developed an SSAS project through visual studio. Every thing worked fine but today while trying to open the project but I had this error message: "Error in Visual Studio: You cannot open the IBM file. The workspace…
Create a measures table in SSAS Tabular and Deploy to Azure
With the Import mode in Power BI , I used to create a table for measures. Now I want to do the same with SSAS Tabular and then deploy it.
Counting distinct data from FACT table returns correct numbers but SSAS cube does not
Hi, I have a problem with distinct count measures in SSAS cube. When I check my FACT table numbers - they are correct but distinct count measure (in combination with location data) in a cube shows different numbers. When I do not combine location data,…
Calculated Member for SUM of distinct values by dimension
I have a multidimensional cube in SSAS. My fact table looks like this with a reference to a dimension, a column for a value, and a column for the amount. DimMember | TheValue | Amount 1 | 10 | 100 1 | 10 | 300 1 …
use Time Intelligence in tabular
Hello. I am using a tabular model. I want to use YTD, MTD, etc Time Intelligence . Is it possible to do this on my SQL Server Analysis Services? Thank you in advance.
SQL audit file Rollover is not working
HI all. SQL audit file Rollover is not working I try. The SQL Service account has full permissions to the folder, and I Try disable/enable the audit session to see if it removes the file. and it works for some days. Please give me some advice.
Calculated Member based on a dimension breaks if dimension in query
I have a multidimensional cube in SSAS. I'm created a calculated member to get the Contract Value by Contract Num by dividing by row count (not important really). It all works as long as Contract Num is not in the query. When I add Contract Num to the…
A connection cannot be made to redirector
Hi! When I want to use SSAS, I get this error. A connection cannot be made to redirector. Ensure that ‘SQL Browser’ service is running. How to fix this?
"An operation that uses the database driver could not be completed. If the driver is a Microsoft driver, make sure the driver file isn't damaged, and if it is, reinstall the driver by reinstalling Microsoft Query."
One of the users receive this error. is this issue at our end or at microsofts ?
无法连接到 http://localhost/olap/msmdpump.dll。
The connection either timed out or was lost. (Microsoft.AnalysisServices.AdomdClient) 响应状态代码不指示成功: 405 (Method Not Allowed)。 (System.Net.Http)
get Partition list in Tabular
Hi! How can I get a list of Partitions in Analysis Service? I'm using Tabular. Could anyone help me?
Importing data from Excel in SQL
I am trying to import data from Excel into SQL using ETITLE: SQL Server Import and Export Wizard and I got below error: File path contains invalid Excel file. Please provide file with .xls, .xlsx, .xlsm, or .xlsb extension. What can I do to successfully…
Implementation of OLAP as a relational database
Hello . I am looking for a solution to the issue of OLAP cubes in the organization. Right now we have a task of taking one cube and replacing it with Tableau reports. In other words, this means taking an OLAP cube, flattening it into a relational…
Last Date Closing balance is not carry forward against same date?
I have facing issue, when i am applying date filter,after same date opening balance is not carry forward , below is data Create table #Tbl_Customer (C_ID int,C_Name varchar(50),Opening_Date date,Opening_value decimal(10,2)) Create table #tbl_Ledger (ID…