Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
frederickjones
Contributor
Contributor

Set Analysis and AGGR

Hello all - 

I have a table with these fields: Debit Month Number, Year, Accounts and Base Accounts. Below is the output I am trying to derive for "Base Accounts". It should repeat the values from "Accounts" where "Debit Month Number" is equal to 0, for each respective year.

"Accounts" is this measure: count(distinct ACCOUNT_ID). 

Is there an easy way to do that in the front end without having to change any backend scripting? 

Thanks in advance. 

Debit Month NumberYearAccountsBase Accounts
02017100100
02018150150
02019125125
1201775100
12018125150
12019100125
2201760100
22018115150
2201980125
3201755100
32018105150
3201970125

 

Labels (2)
1 Reply
Sebastiaandb
Contributor III
Contributor III

Easiest solution would be to use a IF statement i guess.
Something like:
IF([Debit Month Number] = 0, [Accounts], [Other number to use in case Debit Month is not equal to 0])