Forum Discussion
data type change analysis services
Hi,
Am looking for ways to be able to change the data type of a Dimension attribute (like Resume number) from numerical to text data type. That will allow me to analyze some related facts.
I dont see any option as such.
Tool used- Power BI
Source - Analysis Services
12 Replies
- mkatipalNew Member
Hi,
Am looking for ways to be able to change the data type of a Dimension attribute (like Resume number) from numerical to text data type. That will allow me to analyze some related facts.
I dont see any option as such.
Tool used- Power BI
Source - Analysis Services
- AnonymousNot applicable
mkatipal, In Power BI Desktop, click on 'Edit Queries' under the Home tab, then in the opened Query Editor window, you select the column by clicking on it, then change the 'Data Type' (under Home tab) to Text.
- mkatipalNew Member
Is this applicable for Analysis Services as well?
I clicked Edit Queries option in the Home tab and I have only the Data Source Settings option available. Upon clicking that it goes to a window where i need to login to the model/data source
- wwhittentonHelper II
I couldn't say for sure about Analysis Services.
When you go into Edit Queries, have you selected the table and column you would like to change the data type of?
- wwhittentonHelper II
Hi mkatipal,
To change the data type, you have a couple options. You can, in the Data view (left side button that looks like a table), click on the column you would like to change the data type, then select the Modeling tab and choose the "Data Type" dropdown in the formatting section.
Alternatively, go into the Query Mode by clicking on the Home tab at the top, then "edit queries". From there, the "transform" section will have a Data type dropdown you can select.
- v-jiascu-msftMicrosoft Employee
Hi mkatipal,
Could you please mark the proper answer as solution or share the solution if it's convenient for you? That will be a big help to the others.
Best Regards!
Dale - AnonymousNot applicable
Hello,
I am also having this problem. I prepared a report with SSAS live connection and I need to change one column's data type to "Barcode", but I can not do it at this moment.
Did you get the proper solution?
Best regards.
- wwhittentonHelper II
Hi husss,
See the response from v-jiascu-msft on 12-20-2017 at 6:54. The rules could have changed by now, since that was 11 months and a lifetime ago, but I don't think Microsoft has made it possible to change the data type from a direct query just yet.
- AnonymousNot applicableHello,
Unfortunately did not change. Still in SSAS connection, data type can not be changed, that is why I converted my model to Direct Query mode which provides me this changing.
Thanks for your attention.