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

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Power AUtomate : Select option - Item() function : GIves nulls in output

(0) ShareShare
ReportReport
Posted on by 4

Hi, I am using SELECT option in Flow, and using item() in the expression to read value from previous step. 

I am getting NULLs as output.

 

QUery from previous step is below:

 

// DAX Query
DEFINE
VAR __DS0Core = 
FILTER(
KEEPFILTERS(
SUMMARIZECOLUMNS(
'Sheet2'[Mobile Number],
'Sheet2'[Customer Name],
'Sheet2'[Region],
'Sheet2'[City],
'Sheet2'[Address],
'Sheet2'[Network Status],
'Sheet2'[Expected Uptime],
'Sheet2'[Technician Name],
'Sheet2'[Network Traffic],
'Sheet2'[Weather Condition],
'Sheet2'[Issue Reason_1],
'Sheet2'[Tower id ],
'Sheet2'[Network status bar],
"MinNetwork_Status", IGNORE(CALCULATE(MIN('Sheet2'[Network Status])))
)
),
OR(
OR(
OR(
OR(
OR(
OR(
OR(
OR(
OR(
OR(
OR(
OR(
NOT(ISBLANK('Sheet2'[Mobile Number])),
NOT(ISBLANK('Sheet2'[Customer Name]))
),
NOT(ISBLANK('Sheet2'[Region]))
),
NOT(ISBLANK('Sheet2'[City]))
),
NOT(ISBLANK('Sheet2'[Address]))
),
NOT(ISBLANK('Sheet2'[Network Status]))
),
NOT(ISBLANK('Sheet2'[Expected Uptime]))
),
NOT(ISBLANK('Sheet2'[Technician Name]))
),
NOT(ISBLANK('Sheet2'[Network Traffic]))
),
NOT(ISBLANK('Sheet2'[Weather Condition]))
),
NOT(ISBLANK('Sheet2'[Issue Reason_1]))
),
NOT(ISBLANK('Sheet2'[Tower id ]))
),
NOT(ISBLANK('Sheet2'[Network status bar]))
)
)
 
VAR __DS0PrimaryWindowed = 
TOPN(
501,
__DS0Core,
'Sheet2'[Customer Name],
1,
'Sheet2'[Mobile Number],
1,
'Sheet2'[Region],
1,
'Sheet2'[City],
1,
'Sheet2'[Address],
1,
'Sheet2'[Network Status],
1,
'Sheet2'[Expected Uptime],
1,
'Sheet2'[Technician Name],
1,
'Sheet2'[Network Traffic],
1,
'Sheet2'[Weather Condition],
1,
'Sheet2'[Issue Reason_1],
1,
'Sheet2'[Tower id ],
1,
'Sheet2'[Network status bar],
1
)
 
EVALUATE
__DS0PrimaryWindowed
 
ORDER BY
'Sheet2'[Customer Name],
'Sheet2'[Mobile Number],
'Sheet2'[Region],
'Sheet2'[City],
'Sheet2'[Address],
'Sheet2'[Network Status],
'Sheet2'[Expected Uptime],
'Sheet2'[Technician Name],
'Sheet2'[Network Traffic],
'Sheet2'[Weather Condition],
'Sheet2'[Issue Reason_1],
'Sheet2'[Tower id ],
'Sheet2'[Network status bar]
 
 
 
 
 
 
The expression in select is 
item()?['Sheet2[Customer_Name]']
 
This gives NULL
I have the same question (0)
  • Pstork1 Profile Picture
    68,306 Most Valuable Professional on at
    Re: Power AUtomate : Select option - Item() function : GIves nulls in output

    Power automate uses JSON notation.  Try item()?[ 'Sheet2']?['Customer_Name]' 

  • NarenCh1 Profile Picture
    4 on at
    Re: Power AUtomate : Select option - Item() function : GIves nulls in output

    Hi Pstork1 , tried the way you mentioned, but it is still throwing error:

    the Input :

    [
      {
        "Sheet2[Mobile Number]""(315) 779-5021",
        "Sheet2[Customer Name]""Amanda Brown",
        "Sheet2[Region]"" Midwest",
        "Sheet2[City]"" Chicago",
        "Sheet2[Address]"" 5678 Oak St",
        "Sheet2[Network Status]""No network",
        "Sheet2[Expected Uptime]""60min",
        "Sheet2[Technician Name]""Richard Romero",
        "Sheet2[Network Traffic]""Low",
        "Sheet2[Weather Condition]""Stormy",
        "Sheet2[Issue Reason_1]""Network Failures",
        "Sheet2[Tower id ]""T-0004",
        "Sheet2[Network status bar]"0,
        "[MinNetwork_Status]""No network"
      },
     
    The output:
     
    [
      {
        "Customer Name"null
      },
  • NarenCh1 Profile Picture
    4 on at
    Re: Power AUtomate : Select option - Item() function : GIves nulls in output

    Is there a way to use items()

    I have come across a video, and using that video, I am trying solution to send customized emails when an alert takes place.

    it uses items(). But when i use it , it throws error that the parameter is not provided.

     

    Error:  "The template language function 'items' must have at least one parameter.".

     

    the expression , I am passing is

    items()?['Sheet2[Customer_Name]']
  • Pstork1 Profile Picture
    68,306 Most Valuable Professional on at
    Re: Power AUtomate : Select option - Item() function : GIves nulls in output

    If you are doing a Data Select it would be item().  Items('Actionname')?['Field'] is used to reference an array of items in something like an Apply to each loop.  this post explains the difference. 📝Understanding the Item() and Items(‘Apply_to_each’) Functions in Power Automate with Examples – Ellis Karim's Blog 

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 614 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 401 Moderator

#3
chiaraalina Profile Picture

chiaraalina 282

Last 30 days Overall leaderboard