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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
navjot1317
Regular Visitor

Dax/Field Parameter tool in Power BI

Hi All,

 

I am new to this forum and will try my best to explain the issue i am facing as clearly as possible, I apologise in advance if i make any mistakes or was not clear enough please let me know. 

 

In Power BI I have tried to use the Field Parameter tool (Under Modelling in the Power BI ribbon):

 

Field Parameter Tool.JPG

 

and I am just having a really hard time getting it to work. What I ideally want to do is create a chart with dynamic x and y vaues that the user can select. I have tried numerous ways and for some reason have just not go it to work 😞 For some reason it keeps on showing a count, when i do not want it to do that I want it to show the values from the table. For example, when a user selects PCN and Asthma, I want it to show the summed values of Asthma patients across the PCNs. 

 

Chart Error.JPG

 

I have created a calcuated table which I am trying to use with the field parameters to allow the user to filter and select what they want to see. This sums all of the columns by PCN and GP Practice, which I have got to work fine no issues there. The issue occurs when I am trying to use the field parameter tool in Power BI to filter the below data:

 

Calculated Table Dax.JPG

 

Example data from the calculated table:

 

Example data calculated table.JPG

 

If anybody has more experience with this tool and knows how to overcome this, then I will be very grateful. 

 

Thank you for your help. 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@navjot1317 , to me it seems like the axis column and measure is missing the relationship

 

I have tested this quite a few times, refer

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
Field Parameters- Conditional Formatting: https://amitchandak.medium.com/field-parameters-conditional-formatting-517aacc23fdf

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

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@navjot1317 , to me it seems like the axis column and measure is missing the relationship

 

I have tested this quite a few times, refer

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
Field Parameters- Conditional Formatting: https://amitchandak.medium.com/field-parameters-conditional-formatting-517aacc23fdf

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

Hi Amit,

 

Thank you so much for the resources provided. 

 

I watched your youtube video and it was very helpful, I decided to not use the tool as I did not get it to work and instead used a SWITCH() statement with my slicer as you did and that worked a charm! 

 

You have earned another YouTube Subscriber, you are a Power BI god 🙂 

Helpful resources

Announcements
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 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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