I have a topic unfortunately with very much additional work in Excel for me. Maybe some of you can help me.
I have a table with values and then two additional red columns that calculate the difference between these two black columns
(one with positive amount, one with negative, but the value is the same, always).
Now I want to adapt that report.
Only the lines <> 0 in the red columns should appear. I know how to show only lines with value <> 0
But how can I only show lines with calculated result <> 0?
you could use an expression like this
if((column(1)-column(2))<>0, (column(1)-column(2)) )
or forcing a value in the else
if((column(1)-column(2))<>0, (column(1)-column(2)), '' )
Let expr= Your Calculation.
In expression of Your Chart, Give the condition as
Then Go to Object Properties--> Check Suppress Zero-Values
i think this is the only way unfortunately. but you do not want to hard code your condition though - i would create a hidden column with your condition expression which will evaluate to 1 or 0 and then use it for all your other expressions.
if (colHiddenExp > 1 , exp1)
if (colHiddenExp > 1 , expn)
if(([IFRS AfA Per] - [HGB AfA Per] )<>0, ([IFRS AfA Per] - [HGB AfA Per] ) )
is not working?
You have to do that for each expression as said by gwassenaar
it works partially. Now the lines which have values are shown with values. The other dont show a value.
But the tricky challenge for me is that the empty lines are not shown anymore.
(From that Screenshot only the two lines with -3560,92 and 399,05 should stay in that pivot)
but you have to add the if in each expression, also for the first two columns:
if(([IFRS AfA Per] - [HGB AfA Per] )<>0, [IFRS AfA Per])
if(([IFRS AfA Per] - [HGB AfA Per] )<>0, [HGB AfA Per])