Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
We have a very simple query in access which has an expr with an IIf statement.
The query processing in Access is correct, but when imported to Excel, it's processed wrong with the wrong results.
The results in Access are correct, but when excel is processing it, it's only returning the else result.
I know this can be achieved another way, but I'd like to know why this is doing that and if it can be fixed as is
Solved! Go to Solution.
Found the solution to my own problem.
Query needs to be in ANSI 92 syntax to work on both platforms. Excel power query doesn't see * as a wild card, it needs %
Replacing * with % will help it work in excel but not in Access
Replacing the syntax in full like this Expr3: IIf([Field1] ALike "Rt%","-1","2") resolves on both
I hope this helps someone
Found the solution to my own problem.
Query needs to be in ANSI 92 syntax to work on both platforms. Excel power query doesn't see * as a wild card, it needs %
Replacing * with % will help it work in excel but not in Access
Replacing the syntax in full like this Expr3: IIf([Field1] ALike "Rt%","-1","2") resolves on both
I hope this helps someone
Check out the July 2025 Power BI update to learn about new features.