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.
Hi Community!🤗
I tried to search here on the forum and on youtube about the "new" Field functionality.
But the new functionality is still confusing to me in what I want.
Normally I use switch I filter everything by a single variant. example;
Dynamic Dur =
var _selectedDur=SELECTEDVALUE(REF[IMGREF])
return
SWITCH(
_selectedDuration,
"Plan1", SELECTEDVALUE('Plan1'[Dur]),
"Plan2", SELECTEDVALUE('Plan2'[Dur]),
"Plan3", SELECTEDVALUE('Plan3'[Dur]),
"Plan4", SELECTEDVALUE('Plan4'[Dur]),
"Plan5", SELECTEDVALUE('Plan5'[Dur]),
BLANK()
)
And another mensure;
Dynamic Fin =
var _selectedFin=SELECTEDVALUE(REF[IMGREF])
return
SWITCH(
_selectedDuration,
"Plan1", SELECTEDVALUE('Plan1'[Fin]),
"Plan2", SELECTEDVALUE('Plan2'[Fin]),
"Plan3", SELECTEDVALUE('Plan3'[Fin]),
"Plan4", SELECTEDVALUE('Plan4'[Fin]),
"Plan5", SELECTEDVALUE('Plan5'[Fin]),
BLANK()
)
I create several measures based on filter in SELECTEDVALUE(REF[IMGREF]).
How do I do this with Modeling/New Parameter/Fields?
I tried here relation, but without success.
thanks!
Hi, @Peleias,
not quite sure what your issue is. Have you enabled the preview feature? Or is it enabled, but you are having issues creating the parameters?
Cheers,
Sturla
Hi @sturlaws, My doubt is how to control 5 different Fields, each with 3 options. Similar as I do with switch.
In the case filter in SELECTEDVALUE(REF[IMGREF]) controls the switches.
This column has 5 units (Plan1, Plan2, Plan3, Plan4, Plan5).
Each PlanN has 3 columns.
Selecting Plan1, you will have the columns Plan1[Fin], Plan1[Dur], Plan1[Sta] highlighted.
Selecting Plan2, you will have the columns Plan2[Fin], Plan2[Dur], Plan2[Sta] highlighted.
➡️That is SELECTEDVALUE(REF[IMGREF]) controls the visibility of 3 columns.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
70 | |
68 | |
43 | |
34 | |
26 |
User | Count |
---|---|
86 | |
49 | |
45 | |
38 | |
37 |