Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
marishnagendran
Creator
Creator

Filter the values based on condition

Hi Team,

marishnagendran_0-1666179904609.png

In Straight Table, I want to show only Profit% column has < 25% value only. (Customer C and D wants to display)

how it is possible

 

 

Labels (4)
7 Replies
BrunPierre
Partner - Master II
Partner - Master II

Suppose you have Profit% = (Profit/Cost Price)*100.

Use the below as the calculated dimension and uncheck the option to show null values.

=Aggr(If(Sum(Profit/Cost Price)*100 < 0.25,[Customer Name]),[Customer Name)

marishnagendran
Creator
Creator
Author

We have a formula to derive the Profit % (E.g (365/Column(5)) * Column(6))

So, I want Profit% column has < 25% value only. (Customer C and D wants to display)

using Expression we can achieve this??

 

 

BrunPierre
Partner - Master II
Partner - Master II

Maybe with the use of If() as below.

If(((365/Column(5)) * Column(6)) < 0.25,(365/Column(5)) * Column(6)))

marishnagendran
Creator
Creator
Author

I'm already used this expression,

In Table box, It shows all 4 Customers.

For Customer A and B the Profit% Column indicates NULL value.

But I Need to remove A and B customer from Table Box

BrunPierre
Partner - Master II
Partner - Master II

What is your expected result? maybe share a snippet.

marishnagendran
Creator
Creator
Author

Source Data

marishnagendran_0-1666275787193.png

I Need Output Like this

marishnagendran_1-1666275841625.png

 

 

 

BrunPierre
Partner - Master II
Partner - Master II

Use this as a calculated dimension thus enabling the option to suppress the null values. Replace the column names with the actual expressions

=Aggr(If((365/Column(5)) * Column(6))< 0.25,[Customer Name]),[Customer Name)