Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello,
I am trying to create a dynamic measure or a dynamic table that returns a list of values (based on selection of a parameter)
I wanted to know if there is a way a conditional statement such as IF, SWITCH-TRUE Combo can produce such an output?
An example for what I was trying to do:
(Engine value is a parameter for the number of engine)
Engine_missing_parts =
VAR MISSING_PARTS =
SWITCH( TRUE(),
Engine[Engine Value] = 1, CALCULATETABLE(SELECTCOLUMNS(FILTER ... ,
Engine[Engine Value] = 2, CALCULATETABLE(SELECTCOLUMNS(FILTER ... ,
etc
RETURN MISSING_PARTS
Solved! Go to Solution.
Hi @Michael_Gold ,
According to your description, we can't create a dynamic table or column changed by the parameter value, it's by design. Calculated table and column can only be computed during data refresh, it does not depend on user interaction in the report. You can refer to this blog for in-depth understanding.
However, we can create a dynamic measure based on the parameter value, I create a sample.
The measure dynamically varies with the parameter value.
I attach my sample below for reference.
Best Regards,
Community Support Team _ kalyj
If this post helps, then please considerAccept it as the solution to help the other members find it more quickly.
Hi @Michael_Gold ,
According to your description, we can't create a dynamic table or column changed by the parameter value, it's by design. Calculated table and column can only be computed during data refresh, it does not depend on user interaction in the report. You can refer to this blog for in-depth understanding.
However, we can create a dynamic measure based on the parameter value, I create a sample.
The measure dynamically varies with the parameter value.
I attach my sample below for reference.
Best Regards,
Community Support Team _ kalyj
If this post helps, then please considerAccept it as the solution to help the other members find it more quickly.
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 |
---|---|
50 | |
31 | |
26 | |
26 | |
25 |
User | Count |
---|---|
60 | |
49 | |
29 | |
24 | |
23 |