# Is it possible to add a customization that allows filtering by components

**URL:** <https://community.eazybi.com/t/is-it-possible-to-add-a-customization-that-allows-filtering-by-components/2458>\
**Category:** Questions & Answers\
**Created:** [July 8, 2019, 6:40pm UTC](https://community.eazybi.com/t/is-it-possible-to-add-a-customization-that-allows-filtering-by-components/2458 "2019-07-08T18:40:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Betty](https://community.eazybi.com/letter_avatar_proxy/v4/letter/b/0ea827/32.png) [@Betty](https://community.eazybi.com/u/Betty)\
**Post date:** [July 8, 2019, 6:40pm UTC](https://community.eazybi.com/t/is-it-possible-to-add-a-customization-that-allows-filtering-by-components/2458/1 "2019-07-08T18:40:41Z")

</div>

Is it possible to add a customization that allows filtering by components

---

<div class="post-metadata">

**Author:** ![daina.tupule](https://community.eazybi.com/user_avatar/community.eazybi.com/daina.tupule/32/8838_2.png) [@daina.tupule](https://community.eazybi.com/u/daina.tupule)\
**Post date:** [July 25, 2019, 2:44pm UTC](https://community.eazybi.com/t/is-it-possible-to-add-a-customization-that-allows-filtering-by-components/2458/2 "2019-07-25T14:44:59Z")

</div>

eazyBI has an option to analyze isuses by components by default. You can check out **Project** dimension. There is **Component** level there. You can use it for your reports.

If you would like to analyze Components separately from Projects you can use calculated JavaScript code. Here are several topics on community you can check about this:

> [@Cant Select the Components even after adding Custom JavaScript code](https://community.eazybi.com/t/cant-select-the-components-even-after-adding-custom-javascript-code/2279):
>
> Good Afternoon, I’m trying to Import Component/s as a Dimension because we need to be able to target Vulnerabilities by asset (Components). But when I add custom JavaScript code in the Additional Options and I test the custom JavaScript code with an issue test and the Information appears. But when I go back to the custom Field tab, i Still cant select it ?? [“MyJira”.customfield\_components] name = “Components” data\_type = “string” dimension = true multiple\_values = true split\_by = “,” …

> [@Grouping of components from multi projects](https://community.eazybi.com/t/grouping-of-components-from-multi-projects/1707/2):
>
> Hi, Project dimension groups components under each project, and, currently, this is the only way how components are grouped in Projects dimension. There are two ways how to get the same name components displayed as one row in the report table. Option 1. If you have a few components and this list is quite static. Then you may want to create [calculated members in the Project dimension](https://docs.eazybi.com/display/EAZYBI/Calculated+members#Calculatedmembers-Aggregatemembersinotherdimensions) for each component, where you aggregate all the same name components. Example of the formula for aggregating c…

> [@Help displaying Component Name](https://community.eazybi.com/t/help-displaying-component-name/688/3):
>
> Hi, The component is a multi-selection field in Jira, and each issue may have more than one. To get related components to the issue, you may use function [Generate()](https://docs.eazybi.com/display/EAZYBI/Generate) and iterate through all components which are related to issue. A formula may look like this: Generate( -- iterate through all components Filter( [Project].[Component].Members, [Measures].[Issues created] \> 0), -- retun a listo of issue related components separated by comma [Project].CurrentMember.Name, ', ') Ano…

Daina / [support@eazybi.com](mailto:support@eazybi.com)
