What's wrong with this formula??

Badrul

New Member
Joined
Sep 25, 2013
Messages
28
IF ([CurrentLevel] = 1, CALCULATE(SUM([Amount])/1000000, tblAccountRollupNew[SignAtLvl1] = 1,tblAccountRollupNew),0)

The problem is that tblAccountRollupNew[SignAtLvl1] = 1 does not seem to affect the formula at all. I could write tblAccountRollupNew[SignAtLvl1] = 9999 and stil get the same result. I have numbers coming through so I know it is calculating. I could remove the second filter too and it will behave like there are not filters at all.

What's going on?

 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
I've narrowed the problem down to the fact that tblAccountRollupNew is not directly linked to the table that contains amounts. Instead it is a sub table of another table is in turn directly linked to the amounts table.

But I thought PP is able to handle this?
 
Upvote 0
try this
IF ([CurrentLevel] = 1, CALCULATE(SUM([Amount])/1000000, FILTER(
blAccountRollupNew, blAccountRollupNew[SignAtLvl1] = 1 && tblAccountRollupNew) ),0)
 
Upvote 0

Forum statistics

Threads
1,223,971
Messages
6,175,732
Members
452,667
Latest member
vanessavalentino83

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top