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.
Hi,
I have exisiting field parameter with slicer that works but I would to modify the dax so it will return values based on another field parameter slicer. However, I'm getting an error with the dax.
"The expression refers to multiple columns. Multiple columns cannot be converted to a scalar value."
I'm not sure if my approach is correct but I would appreciate any help please @TheoC @JoaoMarcelino
Comparative Scen3 (field param) =
VAR Comparative_Scenario_USD =
{
("Budget", NAMEOF('KPI USD'[KPI MTD Budget USD]), 0),
("Last Year", NAMEOF('KPI USD'[KPI MTD LY USD]), 1),
("2019", NAMEOF('KPI USD'[KPI MTD 2019 USD]), 2),
("Forecast", NAMEOF('KPI USD'[KPI MTD Forecast USD]), 3)
}
VAR Comparative_Scenario_LOCAL =
{
("Budget", NAMEOF('KPI'[KPI MTD Budget]), 0),
("Last Year", NAMEOF('KPI'[KPI MTD LY]), 1),
("2019", NAMEOF('KPI'[KPI MTD 2019]), 2),
("Forecast", NAMEOF('KPI'[KPI MTD Forecast]), 3)
}
RETURN
SWITCH(
SELECTEDVALUE(ParamCurrency[ParamCurrency]),
"USD", Comparative_Scenario_USD,
"LOCAL", Comparative_Scenario_LOCAL
)
@Anonymous , As of now field parameters can filter slicers of another field parameter. You can check and vote for an existing idea : https://ideas.powerbi.com/ideas/
@amitchandak - thanks for the feedback. That's a shame. I guess the alternative options could be using bookmarks or creating a table for the slicer selection and then creating measures using selected value.
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 |
---|---|
11 | |
9 | |
8 | |
8 | |
7 |
User | Count |
---|---|
14 | |
12 | |
11 | |
10 | |
9 |