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.
I have two tables called "ModelParameters" and "ModelRun". I am trying to add a custom column to "ModelRun" that is single row in "ModelParameters". I am trying to filter "ModelParameters" using the column "Scenario" which is in "ModelParameters". When I use this for the custom column I don't get the correct record I only get the first record in "ModelParameters"
Table.First(ModelParameters, each [Scenario]=3)
How do I filter "ModelParameters"?
Hi @Syndicate_Admin ,
Such error usually caused by incorrect or non-existent column names. See the details:
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Try using this
Table.SelectRows(ModelParameters, each [Scenario]=3)
Yes this does solve the question I posted however it doesn't help me with my broader problem which was using a column in ModelRun to filter ModelParameters. So i have a column in ModelRun call ScenarioRun so when i use the following formula for a custom column in the query for ModelRun:
Table.SelectRows(ModelParameters, each [Scenario]=[ScenarioRun])
i get an errror that [ScenarioRun] can't be found.
Check out the July 2025 Power BI update to learn about new features.