PowerPivot is not pulling all the records from Tabular Model - powerpivot

I have been facing an issue with many PowerPivot models. The Tabular Model is the source for my PowerPivot model and I have around 1.2 million records in my Tabular model. Every time the Tabular Model is successfully refreshed and processed. I'm trying to refresh my PowerPivot assuming it will be refreshed with the same number of records from Tabular model. But it's never getting loaded with the whole data and loading only 700,000 records with a status of 'Successfully Refreshed'.
Since both Tabular Models and PowerPivot models are In-memory, I'm always closing the other Tabular models and PowerPivot models when I'm refreshing a particular tabular/PowerPivot model. But I'm never getting my PowerPivot completely refreshed with that of the source Tabular model.
It's quite irritating. Can you guys suggest any solutions please?
Thanks in advance...

Related

Load SSAS Tabular from Multiple Sources

I have many customer databases for our product that have the same schema. Is there a way to loop through these databases and load a SSAS Tabular cube with data from all of them?
Hopefully this can be done.

how can I find out which tabular models are being processed within SSAS?

We have many models on our SSAS instance and we made it easy for users to start the model processing (through a bespoke Excel add-in).
Now, a side effect is that there are apparently several Tabular models being processed at the same time.
Is there a way to find which tabular models are currently being processed?
You can use the tool SSAS Activity Monitor. The nice part about this tool is you can just launch it and in seconds be looking at all activity in SSAS.
You connect to your SSAS instance then use the Current Queries Panel. There will be a row for every query. When you process, the COMMAND_TEXT will start with <Batch...
and further in the COMMAND_TEXT you'll find the DatabaseID and process Type.
You could also query the DMVs directly. This query from SSMS found it as well, but it's harder to see there:
select * from $SYSTEM.DISCOVER_SESSIONS;
But you could put this SQL into Power Query and have it parse and filter down nicely.

Automate SSAS Tabular Model creation via script

I have a data catalog where people can browse through the DWH tables. People can select tables and send a request to the IT team. This is in the form of a table which gives all the table names and column names that a person wants to have.
In the current situation, my team has to manually create a SSAS Tabular Model with the requested tables in Visual Studio: (Create a new model, connect to the DWH, select the requested tables and columns, assign user access and deploy the model on the analysis service.)
My question: is there somebody who knows a way to automate this process? Is it possible to create Tabular Models with scripts automatically? I've come across Tabular Model Scripting Language but I'm unsure from the documentation if it's possible to create NEW tabular models. Seems like it's only possible to script and make changes in already existing models.
Any form of suggestion or guidance will be appreciated, thanks beforehand.
Michael Kovalsky has a great solution for this on GitHub. See https://github.com/m-kovalsky/ModelAutoBuild. You start with an Excel template and then use scripting in the Tabular Editor tool to create the model. It may not have all the elements you need in your models, but it is a great starting point.

Combine data from multiple SSAS cubes in PowerBI

I need to combine data from multiple SSAS cubes and visualize in one dashboard. It seems only one SSAS cube can be added to Power BI desktop, there is an option to import data as a flat table but in this case cube structure would be falt and useless.
you are right, only one cube can be accessed at design time using the live connection.
2 ways to solve your problem:
1 - build a new cube, accessing all the data that you need
2 - switch to import mode and build your own model
good luck!

ROLAP not working - how to design the cube/DSV for ROLAP?

I'm trying to configure storage mode ROLAP for a partition in an existing SSAS cube. The cube is a little messy in that the measure group is defined by a named query (as opposed to a table) and the dimensions are defined in several different data source views (DSV).
This is the error message I get when querying the cube with mdx:
Executing the query ...
Server: The operation has been cancelled.
Errors in the high-level relational engine. The 'dbo_dim_account' table that is required for a join cannot be reached based on the relationships in the data source view.
Execution complete
Note that MOLAP storage mode with proactive caching works fine. This problem occurs only when storage mode is ROLAP or HOLAP.
Also, I have tried to add the tables of all dimensions to the DSV of the cube in question but that doesn't seem to help.
Any ideas?
Not an expert here, but you could try importing the AS DB in Visual Studio.NET - "Import Analysis Services database" in the New Project... dialog.
Once in there, you can see the table schemas for the Data Source View (which is where the relational tables are defined that the cubes are extracted from). Next, look to make sure the "dbo_dim_account" table is there and that your fact table is related to it.
It may be that a dimension and fact have to be in the same DSV for the relation to work?
Also, maybe the SSAS flight recorder or Application log would have more issues?