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 / Problems with filterin...
Power Automate
Answered

Problems with filtering data tables

(0) ShareShare
ReportReport
Posted on by 4
My PAD Version is 2.58.163.25188
 
Recently I haven't updated my PAD and suddenly I get an error in the data table filtering action.
 
 
 
As shown in the image above, I had the data in Excel and brought it to the data table including the column header.
And if i filter to get more than 1 value for 'EOH U' column, an error occurs in the size column that doesn't matter at all.
Even though the size doesn't have any number value at all!
 
 
상관 관계 ID: 4b36b1c0-7728-465b-8ac3-38ffa286e266
Microsoft.PowerPlatform.PowerAutomate.Desktop.Actions.SDK.ActionException: 'Size' 열에는 'System.String', 'System.Decimal' 등 서로 다른 형식의 셀이 있습니다.
   위치: Microsoft.Flow.RPA.Desktop.Modules.Variables.Actions.DataTableExtensions.CheckColumnTypeConsistency(DataTable dataTable, String columnName)
   위치: Microsoft.Flow.RPA.Desktop.Modules.Variables.Actions.DataTableExtensions.CheckTypeConsistencyAndGetColumnTypes(DataTable dataTable)
   위치: Microsoft.Flow.RPA.Desktop.Modules.Variables.Actions.FilterDataTableAction.Execute(ActionContext context)
   위치: Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.ActionRunner.Run(IActionStatement statement, Dictionary`2 inputArguments, Dictionary`2 outputArguments)
 
 
What the hell is PAD doing to me?
I have the same question (1)
  • Verified answer
    UshaJyothiKasibhotla Profile Picture
    225 Moderator on at

    HI @CU18040549-0

    Parses the entire data table, not just the filtered column ([EOH U] in this case).
    If any column (like Size) contains inconsistent or incompatible data types, PAD may fail to process the data table even if the column isn't used in the filter.
    This is a known behavior in PAD when working with data tables imported from Excel or other sources, especially when:
    Columns contain mixed data types

    Option 1: Clean the 'Size' Column Before Filtering
    Use “For Each” row loop before filtering:
    Loop through each row in %ExcelData%
    Use conditionals to check and sanitize the Size column:
    Convert to string or number uniformly
    Or replace non-numeric values with a default value (0, "", etc.)
    Option 2: Remove the Problem Column Temporarily
    If the Size column is not needed:
    Use "Remove Data Table Column" action before filtering.
    Remove Size column from %ExcelData% → create new table
    Apply the filter on the cleaned-up table.
     Option 3: Ensure Data Consistency in Excel
    Open the source Excel file
    Make sure the Size column contains only one data type (e.g., convert everything to text or decimal)
    Save and reload into PAD
     Option 4: Use “Read from Excel Worksheet” with Data Formatting
    When reading Excel:
    Choose “Preserve format” as False
    This sometimes helps PAD infer correct type
    Hope this helps,
    Usha Jyothi.
     

     

     
  • Verified answer
    Power Platform 1919 Profile Picture
    2,205 Super User 2026 Season 1 on at
    Hi  ,

    You encountered this error because Power Automate Desktop enforces data type consistency within a column—a column must not mix text and numeric values. If it does, actions like Filter Data Table will fail.

    Quick Fixes:

    • Normalize the column first: Convert all values to a single data type (usually text) before filtering.

    • Or, filter row-by-row in a loop: inspect each row’s value, convert or skip based on its type, and build a clean DataTable manually for filtering.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 976

#2
Valantis Profile Picture

Valantis 863

#3
Haque Profile Picture

Haque 547

Last 30 days Overall leaderboard