how to create SSAS partition dynamically? - ssas

Could anyone tell me to create SSAS partition dynamically?

using ADOMD and C#, or using PowerShell

Related

Can any dimension be added to a SSAS CUBE dynamically

We build an SSAS ROLAP cube where data source is memSQL. The cube is built using Visual Studio 2019 and the driver used to connect to memSQL data source is "MySQL .NET Provider 8.0.19". The cube is built and processed successfully. As it is a ROLAP cube, so one of the requirement we have in our hand is to add new dimension/measure dynamically without developer intervention. Now I am looking for some expert advise, how dynamically can we add a dimension or a measure (may be through any Autosys job which will schedule to run in every hour and check for new dimension or measure).
Is it possible to do through any back-end C# code which will update the XMLA; whenever we are trying to add a new dimension or measure ?
I found a good example code at Analysis Services Cube Programatically/Automatically Generated via c# and AMO
This helped me to build a code for dynamic cube using memSQL as data source.

How to create partitioning dynamically in SSAS tabular model, without using the SSIS package?

I would like to create the dynamic partition in one of my SSAS tabular model.
To do so I found one approach with SSIS package which involves the "Analysis Services Processing Task" & the script task integration, thing is I would like implement this solution without introducing any SSIS package in between, may be via SQL itself (?).
Would it be possible?
Thanks.
Yes. if you don't want to use SSIS, you can create a job and run your XMLA codes in steps (via SQL Server Analysis services command code step type )
or
you can create a linked server between the SQL server database engine and SQL server analysis service tabular and run your XMLA codes
EXEC (xmla_query) AT [Link server name]

SQL SSRS Report Builder - cannot see views only tables?

I am using SSRS Report Builder with SQL 2005 and I am trying to build some reports from my data sources.
However when I bring up the data source entities it is only showing tables not views which is what I want to use to make the coding neater and easy to use.
Am I missing something? Can anyone advise a way to get the views to be shown up in the Entities options?
Any help much appreciated.
Thanks,
Based on the note in the following posting, if you created your model using Report manager it does not show views. You need to use Development studio.
See this link

LINQ to SQL for an existing database

I have a current project that uses LINQ to SQL to create a database and then to work with the data.
I also have another database which already exists and I do not need to create it. Do you know any tool that can generate the data model for my existing database?
Note: my database is pretty flat so I don't need to be worried about complex relations
Thanks in advance;
using visual studio, can't you just create a new .dbml file and point it to your database and then generate all the Object Mappers?
Code Generation in LINQ to SQL:
http://msdn.microsoft.com/en-us/library/bb399400.aspx

How to present the result of a dynamic pivot request in SQL Server 2005 Reporting Services?

I have a dynamic pivot request I would like to present in a report of Reporting Services.
As it is dynamic, the number of columns of the result is variable (as is the name of the columns). How could I create a report showing a table handling this variable number of columns ?
You can also use the Matrix control to pivot the results in the report instead of in the query. This way you don't have to use any custom solution.
You will need to implement a dynamic report definition file. Here is a link that will help you get started. It is a VS Project that dynamically creates a RDLC file with a table, via a datatable. I used it as the base of my current report system.
C# Version
VB.NET Version
If you have any questions about this, let me know. I've been generating RDLC files for quite a while now, and encountered pretty much every issue you could think of :)