You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to calculate number of rows in a table with value null

Received Response
12
Views
4
Comments
edited Nov 19, 2019 3:58PM in Oracle Analytics 4 comments

Summary

How to calculate number of rows in a table with value null

Content

I have a laptop table with n no. of records in it. There are both active and inactive laptops in this table.

In OAC visualization, my requirement is to show number of active and inactive laptops present in the above table.

For all active laptops, the field Laptop_Name is not null and it can be found as count(Laptop_Name) and gives correct count.

However, for inactive laptops, the field Laptop_Name is null and thus count(Laptop_Name) would give zero and is incorrect. In OAC how do I create this calculated measure? Is there an inbuilt function that exists in OAC to calculate 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!