Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

EazyBI dimensions in columns

Tomek April 16, 2019

Hi,

I preparing raport for my sale department. For now i put dimensions in row and this is quite OK. But my coworkers would like to have dimensions in columns. Problem is that, when i put dimension named Month of expected in column i get wrong results (look on screanshot).obraz.png Value 54000 should by only in column 2, rest should be empty. Is any way to crate raport like that:

 2019
Q1Q2Q3Q4
123456789101112
            
Issue 11234    1234      
Issue 2            
Issue 3  213         

Month of expected is advanced custom field crated with Javascript, here is a code.

[jira.customfield_month_of_expected]
name = "Month of Expected"
data_type = "integer"
dimension = true
javascript_code = '''
var month = new Date(Date.parse(issue.fields.customfield_10810)).getMonth();
issue.fields.customfield_month_of_expected = month + 1;
'''

 

2 answers

0 votes
Janis Plume _eazyBI_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 9, 2019

Hi,

 

Your approach with the Javascript custom field could be possible, but it will require a bit more complicated script and additional parameters.

Please, check the proposed solution of how you can import the Expected data as a measure and use the standard Time dimension to show the monthly Margins. That is the standard solution provided by eazyBI for your use case.

Note also that you are using the "Issue Margin (PLN)" measure in the report columns which is a property and works only at the Issue level. Please use the "Margin (PLN) Expected" measure, once you have imported the Expected date as a measure.

Kindly,

Janis, eazyBI support

0 votes
Tomek April 18, 2019

@Daina Tupule eazyBIcould you help with that?

Suggest an answer

Log in or Sign up to answer