3 Replies Latest reply on May 14, 2018 7:54 PM by lei.chen.0

# How to calculate area between the curves in tableau??

Hey guys,

I am a master student, using tableau for my thesis.

I have 2 variables and I produced a graph, as shown in the below figure. I need to calculate the area between curves to get the value which is very important for my thesis.

is there any way for it.

Greetings

Chiranjeevi J

• ###### 1. Re: How to calculate area between the curves in tableau??

Hello Chiranjeevi J,

Could you provide more details?

What does "area between the curves" mean? Such as? What does "area" mean? Something like "integral calculus"?

Basically, in order to get any calculation results, you need to write a calculated field or use table calculation.

Regards

Lei

• ###### 2. Re: How to calculate area between the curves in tableau??

Hi Chen,

yes, what you showed is right, I need to do integration to calculate the area between two lines, to calculate the area.

Is there a way in tableau to obtain it, because I need to calculate it for some 10s of graphs.

any suggestion is appreciated.

Greetings

Chiranjeevi J

• ###### 3. Re: How to calculate area between the curves in tableau??

Hello chranjeevi,

What are the details of the two measures?

Are they,

- raw data fields in the data source?

- two different calculated fields from one common data field? is table calculation used?

- two different calculated fields from two different data fields?

...

Solutions differ according to your data.

So please provide some sample data or a sample workbook.

Regards

Lei