Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Is it possible to use Expression.Evaluate to (dynamically) examine the value of a Power Query Parameter?
Trying the below results in null despite the parameter "InitFileGLOBAL" has a value.
You have to just say
Thanks! I was unclear. I want to examine value dynamically and thus select what parameter to examine based on a string value representing the name of the parameter.
The way you have done is right. Check whether InitFileGLOBAL contains a value or not in Parameter screen.
The null will come when there is no value in current value.
Thanks for your response!
I am trying to accomplish this in Power Query Online (Datamart)
When testing the same thing i Power Query for Excel it works as a charm so the question is if this is a permanent limitation in Power Query Online?
Online doesnt like the #share object or any other dynamic values in my queries (that works fine in the Excel version) so perhaps i need to rethink the design fundamentally.
Perhaps Expression.Evaluate is not the right way?
Examining #share results in:
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
9 | |
8 | |
8 | |
7 |
User | Count |
---|---|
13 | |
11 | |
9 | |
6 | |
6 |