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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
sathishsam
Helper II
Helper II

How to have a dynamic field parameter names?

How to have a dynamic field parameter names? I tried below, however it always returns else condition value (Profit)

 

Parameter = {
    ("Market", NAMEOF('Hiearchy'[Level1Name]), 0),
    ("Market Unit", NAMEOF('Hiearchy'[Level2Name]), 1),
    (IF(SELECTEDVALUE('Col') = "Sales", "Sales", "Profit", NAMEOF('Hiearchy'[Level3Name]), 2)
}
2 REPLIES 2
sathishsam
Helper II
Helper II

I tried this but, its not working the way i wanted

amitchandak
Super User
Super User

@sathishsam , seem like you are trying to combine measure and axis/dimension slicer , that is not possible

 

refer these examples

Power BI Field Parameters — A Quick way for Dynamic Visuals: https://amitchandak.medium.com/power-bi-field-parameters-a-quick-way-for-dynamic-visuals-fc4095ae9af...
Power BI Field Parameters- Measure Slicer and Axis/Dimension slicer: https://youtu.be/lqF3Wa1FllE
Switch TOPN with Field Parameters: https://amitchandak.medium.com/switch-topn-with-field-parameters-299a0ae3725f

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors