Forum Discussion
Number to text in Direct query
Hi,
I have a Numeric column which i want to convert to text using a formula.
But When I try to use FORMAT function it dosent allow me as it dosent support direct query.
Thanks,
Ravi
As said earlier, you can do this in the at query level
What is your datasource? If it's SQL you can just modify your query.
5 Replies
- AnonymousNot applicable
Hi ravsha85
If you use direct query (live connection), you can't do any changes (neither in DAX nor in the Query Editor aka Power Query).
The only way to solve this is by editing the column in the source itself.
- MarcelBeugCommunity Champion
Looks to me like this should be done in the Query Editor, not in DAX.
In this very short video I illustrate with data from Access: after adjusting data type to text, there is still a Native Query, which makes me think it should also work in Direct Query.
- saileekumawatAdvocate I
As said earlier, you can do this in the at query level
- Phil_SeamarkMicrosoft Employee
What is your datasource? If it's SQL you can just modify your query.
- AnonymousNot applicable
Thanks Sailee and Phil , I guess I have to modify the data in query level as you said.