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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Baerbel
Helper I
Helper I

Mesure don't accept change of a column from text to figures

I'm a beginner and have the problem, that I had to search / replace ":" in a data column (a sign for no data available). Now I was able to convert text into figures. For the report it works.

No I created a measure to be able to use the data basis in Excel as well (Measure_Test = ALL(MyTable[Value]), but the measure shows the [Value]column still as text.

Who can help me (I'm a beginner), thanks in advance

3 ACCEPTED SOLUTIONS
Anonymous
Not applicable

If you can't convert the column of numbers into a "decimal" or "whole number" data type, it will give you an error about what is "wrong" w/ the data (like the : issues) and you will need to resolve them.

 

Once you CAN convert it to a number, try a measure like:

  Total = SUM(MyTable[Value])

which should return the sum.   Your test measure isn't valid (ALL returns a table, measures need to return single values)

 

View solution in original post

v-haibl-msft
Employee
Employee

@Baerbel

 

If your values contains “:” in them, you can search and replace using the “Replace Values” function.

Mesure don't accept change of a column from text to figures_1.jpg

 

Once the values have the number format, you can change the data type from Text to number types.

Now you should be able to create a measure using Standard Aggregation Functions.

Mesure don't accept change of a column from text to figures_2.jpg

 

Best Regards,

Herbert

View solution in original post

@v-haibl-msft

 

Thanks a lot - this was what I've done, now I changed the measure to "Sum"

and I found another "beginner" mistake - by connecting Excel to Power BI I've selected in the Power-Pivot-Table the [Value] from the table instead the "Measure" for all my values - now I changed this and it works perfectly.

 

Thanks again Smiley Happy

 

Baerbel

 

 

View solution in original post

4 REPLIES 4
v-haibl-msft
Employee
Employee

@Baerbel

 

If your values contains “:” in them, you can search and replace using the “Replace Values” function.

Mesure don't accept change of a column from text to figures_1.jpg

 

Once the values have the number format, you can change the data type from Text to number types.

Now you should be able to create a measure using Standard Aggregation Functions.

Mesure don't accept change of a column from text to figures_2.jpg

 

Best Regards,

Herbert

@v-haibl-msft

 

Thanks a lot - this was what I've done, now I changed the measure to "Sum"

and I found another "beginner" mistake - by connecting Excel to Power BI I've selected in the Power-Pivot-Table the [Value] from the table instead the "Measure" for all my values - now I changed this and it works perfectly.

 

Thanks again Smiley Happy

 

Baerbel

 

 

Anonymous
Not applicable

If you can't convert the column of numbers into a "decimal" or "whole number" data type, it will give you an error about what is "wrong" w/ the data (like the : issues) and you will need to resolve them.

 

Once you CAN convert it to a number, try a measure like:

  Total = SUM(MyTable[Value])

which should return the sum.   Your test measure isn't valid (ALL returns a table, measures need to return single values)

 

@Anonymous

 

Thanks a s well, very helpfull

 

 

Best

 

Baerbel

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.