Jump to content

This topic is 7155 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have a database from which I would like to extract a count from various field combinations. A count from Type of Ad field (which is a pull-down menu field) and a Color field which is a radio button set with values of either "Black" or "Color".

So what I want is a calculation field that gives me the total of all records that are both "Birthday" and "Black" and another calculation field that gives me the total of all records that are both "Birthday" and "Color".

I want to summarize the totals of all records contain these combinations in a report layout.

Posted

see the example I posted in another thread for a starting point.

http://fmforums.com/forum/showtopic.php?tid/168285/post/169408

- create a calculation field, MyCalc that returns text = TypeOfAd & "~" & Color

- create two calculation global text fields g_BDayBlack = "Birthday~Black" & g_BDayColor = "BirthDay~Color"

- create 2 self join table occurences -

1) BirthdayBlackCheck where g_BDayBlack = Mycalc

2) BirthdayColorCheck where g_BDayColor = Mycalc

- your count fields should be a calculation of

Count(BirthdayBlackCheck::MyCalc)

Count(BirthdayColorCheck::MyCalc)

This topic is 7155 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.