- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Automate Flow failing - column contains both numeric & text
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @unknown917 - Yes, you're correct in suspecting that the '-' values in your percentage column are causing the issue. In Microsoft Power Automate expects consistent data types, so encountering a '-' in a column classified as a number can lead to errors during execution.
Solution 1: Handle the '-' Value in Power BI Before Sending to Power Automate
In Power BI, you can create a new calculated column or use the existing column to transform the values
create a calculated column as below:
Cleaned_Percentage =
IF(Table[Percentage] = "-", BLANK(), Table[Percentage])
This will replace '-' with a blank value or substitute with 0 also fine.
It works, and you’ll avoid flow execution failures by ensuring all values Power Automate receives are numeric.
Proud to be a Super User! | |
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,rajendraongole1 ,thanks for your concern about this issue.
Your answer is excellent!
And I would like to share some additional solutions below.
Hi,@unknown917 .I am glad to help you.
I agree with rajendraongole1's suggestion.
1.Preprocess data containing ‘-’ in the power query by replacing it with another character or null.
use Text.Replace M function.
Text.Replace - PowerQuery M | Microsoft Learn
It's also a good idea to use DAX code to make IF judgements on the data.
I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
Best Regards,
Carson Jian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @unknown917 - Yes, you're correct in suspecting that the '-' values in your percentage column are causing the issue. In Microsoft Power Automate expects consistent data types, so encountering a '-' in a column classified as a number can lead to errors during execution.
Solution 1: Handle the '-' Value in Power BI Before Sending to Power Automate
In Power BI, you can create a new calculated column or use the existing column to transform the values
create a calculated column as below:
Cleaned_Percentage =
IF(Table[Percentage] = "-", BLANK(), Table[Percentage])
This will replace '-' with a blank value or substitute with 0 also fine.
It works, and you’ll avoid flow execution failures by ensuring all values Power Automate receives are numeric.
Proud to be a Super User! | |
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thank you!

Helpful resources
Join us at the Microsoft Fabric Community Conference
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Power BI Monthly Update - February 2025
Check out the February 2025 Power BI update to learn about new features.

Subject | Author | Posted | |
---|---|---|---|
09-20-2024 02:03 AM | |||
09-17-2024 08:35 AM | |||
09-21-2024 05:38 AM | |||
08-17-2023 11:34 PM | |||
09-02-2024 03:22 AM |