Chicago1988
Chicago1988

Reputation: 676

how to change int to date in dax?

I am consuming LIVE from an SSAS cube.

I have my Fact table with the below column: enter image description here

When I display it in a matrix visual, in my pbix I get this:

enter image description here

But in SSAS I see it as:

enter image description here

How can I display it in a nice dd-MMMM-yyyy format?

Ps: the table comes from a ‘sql server’ source with INT data type.

Upvotes: 1

Views: 129

Answers (1)

David Browne - Microsoft
David Browne - Microsoft

Reputation: 88851

Because you are using a Live Connection to SSAS, this has to be done in the Analysis Services model. The only model changes you can make in that case is to add measures.

This column should have a relationship to a Date dimension which has a Date type column as well as other datetime hierarchy columns like Month, Quarter, and Year.

Upvotes: 1

Related Questions