web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Where have I went wron...
Power Automate
Unanswered

Where have I went wrong; Update excel sheet from csv

(0) ShareShare
ReportReport
Posted on by 105

Hi,

I followed this tutorial on youtube:

https://www.youtube.com/watch?v=sXdeg_6Lr3o

 

My flow is working although its not working as I would've hoped...so was wondering if somebody could help me figure out what I've done wrong.

 

I think its to do with some null objects that seem to during after the "splitByLines" step, is there an easy way I can exclude them?

 

This is the full flow:

FullFlow.png

Here are the expressions etc I used incase it makes it easier to spot where I've messed up:

splitByLines

 

 

split(replace(outputs('Get_file_content_2')?['body'],'"',''),decodeUriComponent('%0D%0A'))

 

 

 

fieldNames

 

 

split(first(outputs('splitByLines')), ',')

 

 

 

Select
From:

 

 

skip(outputs('splitByLines'), 1)

 

 

Map1:

 

 

outputs('fieldNames')[0]
split(item(), ',')?[0]

 

 

Map2:

 

 

outputs('fieldNames')[1]
split(item(), ',')?[1]

 

 

 

trailing quotation marks.png

 

Here is how the csv is formatted incase its useful:

 

"SamAccountName","msRTCSIP-Line"
"user.name1","tel:+123456789123"
"user.name2","tel:+123456789124"
"user.name3","tel:+123456789125"
"user.name4","tel:+123456789126"
"user.name5","tel:+123456789127"
"user.name6","tel:+123456789128"
"user.name7","tel:+123456789129"
"user.name8","tel:+123456789130"

 

 

Categories:
I have the same question (0)
  • f2 Profile Picture
    105 on at

    I'm not sure how to delete posts but I found a post from another user that has helped me:

    https://powerusers.microsoft.com/t5/Building-Flows/How-to-filter-empty-rows-from-an-array/td-p/870184

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 378

#2
Valantis Profile Picture

Valantis 329

#3
David_MA Profile Picture

David_MA 283 Super User 2026 Season 1

Last 30 days Overall leaderboard