Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello Power BI community,
I'm facing an issue with adding a new field parameter to my existing list in Power BI Country.pbix . Currently, I have a fields parameter that I use in visuals and visual filters to filter data based on the file I choose. First here's my table :
Here is a snippet of my existing parameter:
and it's used like this in visuals with diff metrics
Now, I want to add a new parameter based on the category column from the table, meaning that when I choose Country from the filter the table gives me names with category "Country". I tried the following by specifying the category name but it didn't work when I select it from the filter it doesn't exclude the other that aren't countries:
Could someone please help me to achieve this? Any suggestions or guidance would be greatly appreciated.
Thank you in advance!
Solved! Go to Solution.
Hi, I think what you can do is create a calculated column that will have Country categories only.
In MS official documentation, it reads as follows,
Let report readers use field parameters to change visuals (preview) - Power BI | Microsoft Learn
... if you want to add a new field to an existing parameter, ... and match the format shown in this example.
Parameter = {
("Customer", NAMEOF('Customer'[Customer]), 0),
("Category", NAMEOF('Product'[Category]), 1),
("Color", NAMEOF('Product'[Color]), 2),
("Product", NAMEOF('Product'[Product]), 3)
}
So, your expression might not be recognizable in a field parameter table.
Expertise = List.Accumulate( {Days as from Today}, {Skills and Knowledge}, (Current, Everyday) => Current & Day.LearnAndPractise(Everyday) ) |
In MS official documentation, it reads as follows,
Let report readers use field parameters to change visuals (preview) - Power BI | Microsoft Learn
... if you want to add a new field to an existing parameter, ... and match the format shown in this example.
Parameter = {
("Customer", NAMEOF('Customer'[Customer]), 0),
("Category", NAMEOF('Product'[Category]), 1),
("Color", NAMEOF('Product'[Color]), 2),
("Product", NAMEOF('Product'[Product]), 3)
}
So, your expression might not be recognizable in a field parameter table.
Expertise = List.Accumulate( {Days as from Today}, {Skills and Knowledge}, (Current, Everyday) => Current & Day.LearnAndPractise(Everyday) ) |
Hi, I think what you can do is create a calculated column that will have Country categories only.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
74 | |
73 | |
56 | |
38 | |
31 |
User | Count |
---|---|
83 | |
64 | |
63 | |
49 | |
45 |