Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Text color formatting in pivot table for Totals

Hi,

     I have a pivot table with one of the dimension as journey status, which tracks down the journey for period of days. I have a requirement that I have to display the text in Red color for certain columns where the count is less than 1. To solve that, I have done the formatting in expression text color. But, the challenge that I am facing here is this coloring is being  applied for the total column ,which I am trying to eliminate.
I have tried using custom format cell but of no avail!

I am attaching the screenshot for reference!

1 Solution

Accepted Solutions
antoniotiman
Master III
Master III

See attachment like Your screenshot

View solution in original post

7 Replies
antoniotiman
Master III
Master III

Hi,

use Dimensionality() like

=If(Dimensionality() > 0,If(Count(Field) < 0,Red()))

Regards,

Antonio

Anonymous
Not applicable
Author

Try Visual Cues Option

Anil_Babu_Samineni

If(Dimensionality() = ColumnNo, Expression, Red())

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
sky
Contributor II
Contributor II

Hi,

 

assuming that the day ranges are a dimension too, you´ll need the SecondaryDimensionality() expression.

 

As you can see in the screenshot, you just need to extend your expression with “if(SecondaryDimensionality() > 0, Red())”

  Dimensionality.JPG

Not applicable
Author

Hi,

   Thanks for the answer!

But, Dimensionality function isn't working for pivot table!

Can you temme if there is any other solution.

Thanks,

Navya

antoniotiman
Master III
Master III

See attachment like Your screenshot

Not applicable
Author

It worked!

Thanks,

Navya