EazyBI Report

pp.jpg

 

I want to get Sum of this columns...

how to write code, to get Sum Value ??

1 answer

0 vote
Peter Bengov Community Champion Apr 28, 2015

You don't need a code. Next to the Hide Empty drop-down you have chosen, click on Total and check the value for creating a total for rows. This will display the sum at the list column

Hi Peter I want to create a Balance Column to get this value Balance= Credit - Debit + Balance.PrevMember

Peter Bengov Community Champion Apr 28, 2015

For this you would probably need to create a custom Measure. Since I'm not sure how to access PrevMember, I'll let eazyBI support to answer this one.

Hi Peter I am using this code for Balance Value, now only the first and second row is not working correctly. CASE WHEN NOT [Time].CurrentMember IS [Time].DefaultMember THEN CASE WHEN [Issue].CurrentMember.Level IS [Issue].[Issue] THEN [Measures].[Balancestart ] + CASE WHEN [Time].CurrentMember IS YTD([Time].CurrentMember).Item(0) THEN Sum( {[Issue].[Issue].Members.Item(0) : [Issue].CurrentMember}, [Measures].[Credit] - [Measures].[Debit] ) ELSE Sum( {[Issue].[Issue].Members.Item(0) : [Issue].CurrentMember}, [Measures].[Credit] - [Measures].[Debit] ) + Sum( YTD([Time].CurrentMember.PrevMember), ([Issue].DefaultMember, [Measures].[Credit]) - ([Issue].DefaultMember, [Measures].[Debit]) ) END ELSE [Measures].[Balancestart ] + Sum( YTD([Time].CurrentMember), [Measures].[Credit] - [Measures].[Debit] ) END ELSE [Measures].[Credit] - [Measures].[Debit] END

Hello @Peter Ben : I want to get the sum of custom field called Nb. of Days per Issue Type (in the table I have x=reporter and Y=Issue Type. Kindly advise Rita

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

90 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you