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
SimpoPower
Helper I
Helper I

Any way to convert a text field to numeric field from realtime data?

Hello, I have a data set created from a microsoft flow from microsoft forms to power BI (a 'realtime data set').  I am having issues with the flow so may have to set all data outputs as 'text' format, even if they are numbers.

 

Is there anyway to convert the text fields to number fields so I can utilise the numbers, such as averaging etc?  

 

Or if anyone knows how to fix the original flow issue, my original request at the link below:

 

https://community.powerbi.com/t5/Desktop/Flow-failing-between-Forms-and-Power-BI-Any-help-much/m-p/7...

PBI3.png

 

 

2 REPLIES 2
SabineOussi
Skilled Sharer
Skilled Sharer

Hey,

 

Try using the following in M query:
Number.FromText([Feedback])

 

It returns the numbers from the text.

 

Hope this helps!

Sabine O.

Hello Sabine, 

 

As I understand this is a function that works when you import data from sources like excel?  My data is 'Realtimedata' streamed from forms being filled out, so not sure how to apply this M Query in Power BI Desktop.  Where would I do this?  The only option I can see available on the Power BI Desktop is to create a new Measure and apply a formula, however it doesn't seem to recognise this command

 

PBI4.png

 

 

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.