Hello,
I've tried several different approaches to get this flow to send output to google sheets NOT as text. No matter what I try, the flow generates the output as text before it sends even though it's definitely calculated as an integer.
I don't see how it can be anything wrong with the way the flow is set.
Here is the RAW input/output:
I've tried:
So, why is it when the output gets posted, it's back to a string inside quotation marks?
The sheet:
Can anyone please tell me what I'm missing here?
Thank you.
Solved! Go to Solution.
Hi @relleK
Please refer this.
https://powerusers.microsoft.com/t5/General-Power-Automate/Convert-text-to-number/td-p/40748
int(outputs('Compose'))
Regards
Ahammad Riyaz
--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.
@Ahammad_RiyazI Tried this approach already. The output is always the same, even when the input is an integer.
@v-xiaochen-msftThank you, It's not a solution, but it is an answer. Glad I gave up on trying to get it to work! 😂
For the record in case someone else finds there way here:
Create an Apps Script in Google Sheets, with a trigger Event Type to run after any "Change." Setting this to "On Edit" did not trigger the script to run.
Here is the script I used. Just adjust the number format however you need it, and you could even break this down by the cell in case you need different formats. After adding and deploying this, as soon as PA sends the data, the script gets rid of the 'tick.'
function myFunction() {
var ss = SpreadsheetApp.getActiveSpreadsheet();
var sheet = ss.getSheets()[0];
// Select Range
var column = sheet.getRange("C2:J53");
// Set Format
column.setNumberFormat("0");
}
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
72 | |
23 | |
17 | |
17 | |
13 |
User | Count |
---|---|
125 | |
34 | |
30 | |
28 | |
26 |