This content has been marked as final.
Show 6 replies

1. Re: Benford's Law  Table Calculation
Alex Kerin Nov 25, 2013 5:58 AM (in response to rebecaaraujo0)Can you upload a version with the calculation that has the error  I didn't see any in this workbook

2. Re: Benford's Law  Table Calculation
Matt Lutton Nov 25, 2013 5:59 AM (in response to rebecaaraujo0)Try this as your Difference Calculated Field:
attr([Benford's Law])[% Found]

3. Re: Benford's Law  Table Calculation
rebecaaraujo0 Nov 25, 2013 6:13 AM (in response to Alex Kerin)Hi Alex,
Sorry not being clear before. This dashboard does not show us the error. The error appears when I was trying to create the difference between the %Found and Benford's Law fields.

4. Re: Benford's Law  Table Calculation
rebecaaraujo0 Nov 25, 2013 6:14 AM (in response to Matt Lutton)Hello Matthew!
Your solution worked fine! Thank you!!
Kind Regards,

5. Re: Benford's Law  Table Calculation
Matt Lutton Nov 25, 2013 6:16 AM (in response to rebecaaraujo0)1 of 1 people found this helpfulNo problem. The ATTR() is required as the other field in the calc is referencing an aggregate (Table Calculation). Tableau wants both sides of the calculation to be aggregated, and ATTR() accomplishes this in your calculation.
Cheers.

6. Re: Benford's Law  Table Calculation
rebecaaraujo0 Nov 25, 2013 6:29 AM (in response to Matt Lutton)I didn't know this trick! Thanks again
Cheers!