Tableau and SSAS Tabular with greyed out dimensions - tableau-api

I am currently working with Tableau and SSAS Tabular. Can somebody please help shed some light on Tableau behaviour:
When selecting a measure from the model some dimensions are greyed out. These dimensions are however connected to the measure source table in the data model. Why does Tableau show them greyed out and what can I do to correct this behaviour?

We have found that Tableau is not able to connect correctly to the SSAS tabular model when it is deployed to SSAS 2016 with compatibility level 1200. After converting the model to compatibility leve 1103 (SSAS 2014) and still deploying it to SSAS 2016 Tableau is now able to connect to the SSAS tabular model correctly.

Related

Tableau performance issue with Tabular Object Model

We have developed a model in Tabular Object Model(TOM), <= 3.5 GB in size., and built few Tableau Dashboard(s) on top of this model.
Each dashboard is built by dragging multiple sheets into one dashboard. All the sheets (dragged in one dashboard) fetch data from one fact table (of course it has relationships with Date and other related dimensions) in TOM.
Now, when we interact with Tableau dashboard, we see a performance degradation. When we checked the SQL profiler, Tableau is generating a huge query for almost every interaction that we have with the dashboard.
We checked the huge query and observed that it includes the DAX/query for almost all the measures in fact tables, irrespective of whether the fact table is used in the said dashboard or not.
We have verified the filter settings in the dashboard, the settings are applicable only for the sheets dragged in our dashboard, so there is no question of visualizations getting changed in other dashboards.
Ironically, we still see that Tableau is creating a huge query and incorporating all the DAX/queries and this results into performance impact.
Is there any way we can restrict this behavior?
In case anyone else is having this issue, this is tied into Tableau not actually supporting SSAS Tabular, the connector you using is for SSAS Multidimensional so Tableau generates MDX queries against the DAX-based Tabular model.
This is also evident from Tableau's own techspecs site:
https://www.tableau.com/products/techspecs
"Microsoft SQL Server Analysis Services 2008 SP4 or later, multi-dimensional mode only*
"
Tableau's website at https://www.tableau.com/products/techspecs clearly states support for
"Microsoft SQL Server Analysis Services 2005 or later, non-tabular mode only*(incl. support for Kerberos)"

Can not change tabular model cube from IN-MEMORY to DIRECTQUERY

I have a tabular Cube deployed on server with IN-MEMORY. When i tried to change it to DIRECTQUERY mode i am getting error.
"Row Level Security is not supported in a database with DirectQuery property.
An error occurred when loading the DimensionPermission.
(Microsoft.AnalysisServices) "
I have connected cube by SSMS and changing to DirectQuery by Right Click on Cube -> Properties.
Please help to resolve this issue.
Regards
Rajnish
Which SSAS version are you using. If you are using SSAS 2014 or lower version, Row Level Security is not supported in a database with DirectQuery Model.
DirectQuery can be used if there is no column with calculation in tabular Model Cube.
If you are using SSAS 2016 or higher version, then you might need to check the restrictions for a database with DirectQuery model. See restrictions in below document:
https://learn.microsoft.com/en-us/sql/analysis-services/tabular-models/directquery-mode-ssas-tabular

Connecting two different database in Tableau

I want to connect two database and establish a relationship between them in tableau. One from sql sever and another from Microsoft excel sheet. How to do that?
I have goggled a lot for that but could not get a suitable answer.
You are speaking about Data Blending -
And for connecting cross database data
Cross Database Querying is a Flagship Upgrade to Tableau 10.0
However, you cannot use cross-database joins with these below connection types:
Tableau Server
Firebird
Google Analytics
Microsoft Analysis Services
Microsoft PowerPivot
Odata
Oracle Essbase
Salesforce
SAP BW
Splunk
Teradata OLAP Connector
You just need to connect to each database separately and make sure they have the same column names. When creating a sheet when you switch between datasources you will see a chain on the linked fields.
Do note that this is not properly joined but is just blended data, it would be best to create another table in your sql database for the excel sheet.

blending of alteryx's output with tableau

Whether the Data output from Alteryx can be mapped to Tableau Reports directly or do we need to store the Data output in an intermediate Database (like SQL Server).
Altyryx can generate a Tableau data extract or write to a relational database. Tableau can read from either format. Your choice.
Yes you can publish from Alteryx to Tableau go to Connector and then select "Publish to Tableau Server Tool" if you don't to have the tool. download it from here:
Click Here

Time datatype not showing in the Crystal Report VS2010

I have a weird problem with regards on Crystal Report bundled at visual studio 2010.
I'm trying to create a report which is the daily time record (TeacherID,date, time in, time out)
But after i include the table in the crystal report database expert, All TIME column not showing up. I tried several test if the cystal report is connected in the database for example i try to convert the TIME into DateTime then "Verify database" and oppps the Time columns (which is converted into DateTime) was shown up.
Structure of TeacherDTR in Crystal Reports
Structure in MSSQL Server
i tried to change TimeInAM from Time to DateTime
and oppppssss
i'm going crazy for this and spends lots of time
Thank you in advance!
Your issue is you are unable to see some of the columns in a table in database in crystal reports though they exist in database.
Follow the link this might be helpful to you. As this link discuss the similar problem.
finally i found the answer that works fine to me ..
when setting up the connection to the database i used sql server native client but it was wrong
the right one is Microsoft ole db sql provider for sql server