Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
anna-lee
Helper I
Helper I

Selecting between a dynamic list of values for matrix row

is there any way to have a dynamic measure that will let me pick and choose individual values from two different columns and toggle between name or job title depending on which i would like to see? i know i can do this as a whole (either all fully showing names or all showing job titles) with a parameter but I am looking to do this on an individual level and have the rows be dynamic. ie: I want to see names under Accounting, but Job titles for Analytics. Snip of what the background data looks like below as well.

annalee_0-1740003141128.png

 







NameHoursTeamMonthJob TitleDepartment
Diane Duke14Trident1/1/2026Commercial AnalystAnalytics
Diane Duke9Trident10/1/2025Commercial AnalystAnalytics
Diane Duke5Trident11/1/2025Commercial AnalystAnalytics
Diane Duke11Trident12/1/2025Commercial AnalystAnalytics
Diane Duke32Trident2/1/2025Commercial AnalystAnalytics
Diane Duke25Trident2/1/2026Commercial AnalystAnalytics
Diane Duke7Trident3/1/2025Commercial AnalystAnalytics
Diane Duke31Trident3/1/2026Commercial AnalystAnalytics
Diane Duke17Trident4/1/2025Commercial AnalystAnalytics
Diane Duke35Trident4/1/2026Commercial AnalystAnalytics
Diane Duke23Trident5/1/2025Commercial AnalystAnalytics
Diane Duke31Trident5/1/2026Commercial AnalystAnalytics
Diane Duke33Trident6/1/2025Commercial AnalystAnalytics
Diane Duke32Trident7/1/2025Commercial AnalystAnalytics
Diane Duke36Trident8/1/2025Commercial AnalystAnalytics
Diane Duke3Trident9/1/2025Commercial AnalystAnalytics
Hayden Guerra30Trident1/1/2026Computer Support SpecialistIT
Hayden Guerra25Trident10/1/2025Computer Support SpecialistIT
Hayden Guerra12Trident11/1/2025Computer Support SpecialistIT
Hayden Guerra40Trident12/1/2025Computer Support SpecialistIT
Hayden Guerra39Trident2/1/2025Computer Support SpecialistIT
Hayden Guerra0Trident2/1/2026Computer Support SpecialistIT
Hayden Guerra19Trident3/1/2025Computer Support SpecialistIT
Hayden Guerra35Trident3/1/2026Computer Support SpecialistIT
Hayden Guerra6Trident4/1/2025Computer Support SpecialistIT
Hayden Guerra2Trident4/1/2026Computer Support SpecialistIT
Hayden Guerra18Trident5/1/2025Computer Support SpecialistIT
Hayden Guerra35Trident5/1/2026Computer Support SpecialistIT
Hayden Guerra26Trident6/1/2025Computer Support SpecialistIT
Hayden Guerra36Trident7/1/2025Computer Support SpecialistIT
Hayden Guerra2Trident8/1/2025Computer Support SpecialistIT
Hayden Guerra19Trident9/1/2025Computer Support SpecialistIT
Renato Charles28Trident1/1/2026ControllerAccounting
Renato Charles17Trident10/1/2025ControllerAccounting
Renato Charles5Trident11/1/2025ControllerAccounting
Renato Charles4Trident12/1/2025ControllerAccounting
Renato Charles28Trident2/1/2025ControllerAccounting
Renato Charles19Trident2/1/2026ControllerAccounting
Renato Charles2Trident3/1/2025ControllerAccounting
Renato Charles23Trident3/1/2026ControllerAccounting
Renato Charles32Trident4/1/2025ControllerAccounting
Renato Charles13Trident4/1/2026ControllerAccounting
Renato Charles24Trident5/1/2025ControllerAccounting
Renato Charles34Trident5/1/2026ControllerAccounting
Renato Charles10Trident6/1/2025ControllerAccounting
Renato Charles11Trident7/1/2025ControllerAccounting
Renato Charles3Trident8/1/2025ControllerAccounting
Renato Charles34Trident9/1/2025ControllerAccounting
Brian Walker36Trident1/1/2026Executive Vice PresidentManagement
Brian Walker7Trident10/1/2025Executive Vice PresidentManagement
Brian Walker39Trident11/1/2025Executive Vice PresidentManagement
Brian Walker19Trident12/1/2025Executive Vice PresidentManagement
Brian Walker28Trident2/1/2025Executive Vice PresidentManagement
Brian Walker14Trident2/1/2026Executive Vice PresidentManagement
Brian Walker0Trident3/1/2025Executive Vice PresidentManagement
Brian Walker35Trident3/1/2026Executive Vice PresidentManagement
Brian Walker6Trident4/1/2025Executive Vice PresidentManagement
Brian Walker19Trident4/1/2026Executive Vice PresidentManagement
Brian Walker11Trident5/1/2025Executive Vice PresidentManagement
Brian Walker39Trident5/1/2026Executive Vice PresidentManagement
Brian Walker39Trident6/1/2025Executive Vice PresidentManagement
Brian Walker3Trident7/1/2025Executive Vice PresidentManagement
Brian Walker1Trident8/1/2025Executive Vice PresidentManagement
Brian Walker35Trident9/1/2025Executive Vice PresidentManagement
1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

ie: I want to see names under Accounting, but Job titles for Analytics

That is not possible, not even remotely.  Use separate visuals.

View solution in original post

2 REPLIES 2
ArwaAldoud
Super User
Super User

To create a dynamic measure that lets you toggle between "Name" and "Job Title":

Create a parameter table with options "Name" and "Job Title."
Create a DAX measure like this:
Dynamic Display =
SWITCH(
TRUE(),
SELECTEDVALUE('ParameterTable'[Display Option]) = "Name", SELECTEDVALUE('DataTable'[Name]),
SELECTEDVALUE('ParameterTable'[Display Option]) = "Job Title", SELECTEDVALUE('DataTable'[Job Title])
)

Add a slicer with the parameter table so you can toggle between "Name" and "Job Title."
https://help.zebrabi.com/kb/power-bi/dynamic-measure-switch/


If this response was helpful, please accept it as a solution and give kudos to help other community members

lbendlin
Super User
Super User

ie: I want to see names under Accounting, but Job titles for Analytics

That is not possible, not even remotely.  Use separate visuals.

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.