Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Sergi
Frequent Visitor

Changing String text (Nvarchar) to number in a new columm, doesnt show the right value.

eed to convert a number which is a text format from SAP Hana to number based on Direct Query report.

 

I tried to add now column like this

Size = VALUE ('Data'[size].   Example:  Instead of showing 100 as text it shows i think Pbi sums of all 100 it founds.

 

 

2021-09-20_12-51-02.pngI

 

2 REPLIES 2
Sergi
Frequent Visitor

Hi,

 

it doesnt work as it is part of a direct query. Need to create a new column

amitchandak
Super User
Super User

@Sergi , Try to change that in column tools.

 

Click on column, You should see an option for column tools on tabs. Click on that and change data type to whole number and try

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.