---
title: "Advanced Function Basics"
canonical: "https://wiki.yellowfinbi.com/space/user80/1541404/Advanced%20Function%20Basics"
format: markdown
---
This section depicts a basic process of how an advanced function is created to be used in a Yellowfin report.

**Note:** Our example uses Eclipse to create an advanced function.

 

1. Create a new Java project and class.  
  
> Macro (inline-media-image)
2. Add the required jar files to your build path. In order to compile an advanced function, you will need to include **i4-core.jar** and **i4-mi.jar **files into the build path. These can be found in your *<YellowfinDirectory>/appserver/webapps/ROOT/WEB-INF/lib/* folder.  
  
> Macro (inline-media-image)
3. Set your class to extend AnalyticalFunction and add the unimplemented methods.  
  
> Macro (inline-external-image)
4. Code your advanced function. See example of a basic accumulative total advanced function.
5. Compile this into a jar file. For compatibility purposes, we recommend that you compile this with Java 7 JDK. If your function uses dependent libraries, you will need to place all of the jar files into a single folder, compress it into a .zip format, and then change the extension of that file to **.yfp**.  
  
> Macro (inline-media-image)
6. Load your advanced function through Yellowfin's plug-in manager.   
  
> Macro (inline-media-image)
7. Once the advanced function has loaded, it will be immediately available for use in a report.  
  
  
> Macro (inline-media-image)




 

> Macro (section)
> 
> > Macro (legacy-content)
> 
> > Macro (legacy-content)