Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi Guru's
Need some Dax help.
I need to create a column that will change the values based on the value selected in the slicer.
Table'Region Name' is created to be used as the slicer.
based on the region, if user selects "East" as a region, then 'Data'[Region East] column data must display.
Appreciate the help.
Solved! Go to Solution.
We can write a measure to return the Region Owner like this.
Region Owner =
VAR _Region = SELECTEDVALUE ( 'Region Name'[Regions] )
RETURN
SWITCH(
_Region,
"East", SELECTEDVALUE ( Data[Region East] ),
"West", SELECTEDVALUE ( Data[Region West] ),
"South", SELECTEDVALUE ( Data[Region South] ),
"North", SELECTEDVALUE ( Data[Regioin North] )
)
Then set a filter on the visual to [Region Owner] is not empty.
I have attached my sample file for you to look at.
We can write a measure to return the Region Owner like this.
Region Owner =
VAR _Region = SELECTEDVALUE ( 'Region Name'[Regions] )
RETURN
SWITCH(
_Region,
"East", SELECTEDVALUE ( Data[Region East] ),
"West", SELECTEDVALUE ( Data[Region West] ),
"South", SELECTEDVALUE ( Data[Region South] ),
"North", SELECTEDVALUE ( Data[Regioin North] )
)
Then set a filter on the visual to [Region Owner] is not empty.
I have attached my sample file for you to look at.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 101 | |
| 76 | |
| 56 | |
| 51 | |
| 46 |