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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

field parameters and barchart

Hi all,

 

I am really new to Power BI and I have a task that I am struggling to complete the last two days. I have a table with some columns that contain only numeric data. I also have a column that contains the month in the format dd/mm/yyyy for better handling in the bi tool. What I want to do is to create a barchart that the user can select a column on the slicer with the month to be on the x-axis. I tried this with the field parameter and I created a table and a slicer that contains the 10 columns I would like to show on the barchart. I put this table as the y-axis. Then, from my original table, i select the month as my x-axis. The result is that no matter the column I select from the slicer I have a blank barchart. If I individualy try to create barchart with any of the columns everything works fine. I don't know what is the way to connect month to each and every column of the field parameter.

Any assistance on this task would be highly appreciated.

 

christodt11_0-1690896073903.pngchristodt11_1-1690896094977.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I finally managed to solve this issue. The problem was that on field parameters, the columns are passed just as they are without the option to be aggregated. If we want the columns to be displayed aggregated and combined with other slicers like month etc. we need to create a Measure table that will contain all the aggregated values and then use THIS table on the field parameter and on th x axis the month as usual. I tried and it works perfect. But thanks for you comment @amitchandak anyway! 🙂 Cheers!

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

I finally managed to solve this issue. The problem was that on field parameters, the columns are passed just as they are without the option to be aggregated. If we want the columns to be displayed aggregated and combined with other slicers like month etc. we need to create a Measure table that will contain all the aggregated values and then use THIS table on the field parameter and on th x axis the month as usual. I tried and it works perfect. But thanks for you comment @amitchandak anyway! 🙂 Cheers!

amitchandak
Super User
Super User

@Anonymous , check there is no visual level or page level filter. I tried Field parameter many times and did not face issue like that

 

Power BI- Create dynamic slicers using field parameters: https://youtu.be/H2ZxWaHAJZQ
https://medium.com/@amitchandak/power-bi-power-bi-create-dynamic-slicers-using-field-parameters-202587d4dedb

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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