Overriding Board total for specific Dataview items

Options

This is probably a stupid question, so I apologize in advance.

I am building a Dataview for an income statement where months are shown as columns with an annual total. Some of the members of the income statement represent headcount data where the "total" for the year should be the last month value, while of course the financial data should be totaled. 

 

I've searched in the forums and haven't found something quite of point, and am a bit stuck Any recommendations would be much appreciated.

Tagged:

Accepted Answer

  • Dietmar Jeschkeit
    Dietmar Jeschkeit Active Partner
    First Anniversary Level 100: Foundations of Building in Board First Comment 5 Up Votes
    edited June 2022 Answer ✓
    Options

    Hi Mike Martin,

     

    in Addition to what Alexander Kappes said you can solve it without using nexel.

     

    Your first block (a) has to be detailed by month, there is no entity by column in the dataview. The next block (b) is from type entity and it is your entity by row (e.g. the code). Then you have your value cube without detailed by but set to function last value (so it will show the last value from the time you selected) - block c.

    Now your last block is an algorithm where you can use a if statement to choose either the block a or c depending on the Entity Code in block b.

     

    Here a screenshot:

    image

     

    Hope it helps

     

    BR

    Dietmar

Answers

  • Alexander Kappes
    Alexander Kappes Employee
    First Anniversary Level 100: Foundations of Building in Board Level 200: Leveraging Board for Business Insights Name Dropper
    edited March 2020
    Options

    Dear Mike Martin,

     

    thanks for your request.

     

    Using the Client itself I think the most easy solution will be using Nexel. All about Nexel you can find here: Nexel 

     

    The solution can look like:

     

    1. You disable the row total for your datablock.

    2. You insert an algorithm with Nexel "Deepest Entity Rule"

    3. Inside Nexel Editor you have to calculate each single row manually.

     

    image

     

    Hope it helps

     

    regards

     

    Alexander Kappes

  • Dietmar,

     

    This solution worked exceptionally well. As there are also some percentage calculations in this income statement that had to be calculated on the annual total, I had to add an additional block representing the annual total. That way for the rows needing last value I was able to use the last value block, and for those requiring the calculation on the annual total, that particular block.

     

    Well done, Deitmar!

  • Dietmar Jeschkeit
    Options

    Thanks Mike,

     

    if block a is detailed by month and the algorithm choose block a it is automatically the total of block a. So if you select one year on the screen it is the annual total. So no need for another block.

     

    BR

    Dietmar