Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi there ,
Can anyone shed some light on method to ignore error resulted from data validation rules build in excel from Power BI ?
- Excel file was implement data formating rules that return in "TBA" if user input incorrect format to cell.
*Picture with error message in excel file if user input wrong format
- When i uploaded to power bi ( data source from sharepoint ) it was showing error.
Can pls guide how to remove this error ? I cant replace error with a value as it needed to be in date format.
Thanks !
@Anonymous ,
could you please share the error screenshot by clicking on the error for more details to assist you better.
Regards,
Manikumar
Proud to be a Super User!
Thank for the reply.
Error from power bi.
@Anonymous , Click on an error and check what is error and share
refer how to handle error in power query
https://www.youtube.com/watch?v=OE6DPmKqN7s
https://www.youtube.com/watch?v=9-Lag0VOiTs
debug issue
https://www.youtube.com/watch?v=OE6DPmKqN7s
Thanks for the posts , will definetely check that out !
Error as below.. is there a method to have 1-time error clear ?
Hello @SuMati ,
Add code similar to this in query statement M.
"Replaced Errors" - Table.ReplaceErrorValues(-"Changed Type", ?" date", null-,"year",null-,"""report_count",null))
let
Source = Excel.Workbook(File.Contents("xxxxxxxxxxxxx.xlsx"), null, true),
Sheet1_Sheet = Source{[Item="Sheet1",Kind="Sheet"]}[Data],
#"Promoted Headers" = Table.PromoteHeaders(Sheet1_Sheet, [PromoteAllScalars=true]),
#"Changed Type" = Table.TransformColumnTypes(#"Promoted Headers",{{"date", type date}, {"year", Int64.Type}, {"report_count", Int64.Type}}),
#"Replaced Errors" = Table.ReplaceErrorValues(#"Changed Type", {{"date", null},{"year",null},{"report_count",null}})
in
#"Replaced Errors"
Best regards
Liang
If this post helps, then consider Accept it as the solution to help other members find it faster.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
100 | |
78 | |
75 | |
50 |
User | Count |
---|---|
144 | |
109 | |
108 | |
87 | |
61 |