SSAS Tabular Model

Santosh Kumar 61 Reputation points
2021-07-24T11:29:51.28+00:00

Hi Friends,

We have a SSAS Tabular Model where the source is SQL Database. While refreshing the data from SQL to SSAS Cube having data issue for one of the field(Formula). Can any one of you advice what need to be done to fix the issue.
![117539-image.png]2

117621-capture.jpg

Thanks in advance

SQL Server Analysis Services
SQL Server Analysis Services
A Microsoft online analytical data engine used in decision support and business analytics, providing the analytical data for business reports and client applications such as Power BI, Excel, Reporting Services reports, and other data visualization tools.
1,344 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. CarrinWu-MSFT 6,891 Reputation points
    2021-07-26T02:52:54.85+00:00

    Hi @Santosh Kumar ,

    Welcome to Microsoft Q&A!

    What is the data type of column 'formula' in SQL Server and SSAS? And have you get any error message while you refreshing the cube?

    If you find that your data has a wrong data type, or at least a different one than you wanted, you have several options:

    • You can re-import the data. To do this, open the existing connection to the data source and re-import the column. Depending on the data source type, you might be able to apply a filter during import to remove problem values.
    • You can create a DAX formula in a calculated column to create a new value of the desired data type. For example, the TRUNC function can be used to change a decimal number to a whole integer, or you can combine information functions and logical functions to test and convert values.

    Please refer to Set the Data Type of a Column to get more information.

    Best regards,
    Carrin


    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.