Platform

Platform

A place for Apptio product users to learn, connect, share and grow together.

 View Only
Expand all | Collapse all

Replace blanks with zero (in a report)?

  • 1.  Replace blanks with zero (in a report)?

    Posted Mon January 23, 2017 01:46 PM

    Any suggestions on how to replace blanks/null with zeros at the report level.  I understand how to do this within the data sets, but I need to know how to do it at the report level.  I have blanks in reports when I begin to merge data such as actuals, budgets, forecast, etc.  Thanks in advance.




    #TBMStudio


  • 2.  Re: Replace blanks with zero (in a report)?

    Posted Tue January 24, 2017 01:21 PM

    Hey Doug,

     

    Could you post a screenshot of the exact report you are having issues with so I can see what data elements aren't showing up as expected? I think we should see the 0's by default, but sometimes we can handle this with additional formatting a metric or synthetic column.

     

    Thanks,

    Justin


    #TBMStudio


  • 3.  Re: Replace blanks with zero (in a report)?

    Posted Tue January 31, 2017 12:17 PM

    Hey Doug,

     

    You could create a synthetic coloumn equal to the coloumn where you see blanks instead of zeros. When you create it you will see the options to make it a number and to make it summable.

     

    Steps:

    Click on the table where you have the data

    Click on the data tab when the ad hoc query pops up and choose insert formula coloumn

    Make the formula equal to the coloumn with the data in it that has blanks OR use the numeric value option if it is a metric

    Choose the correct configuration of the coloumn so it is a number or currency and it is summable

     

    This should work for what you are looking for but Justin is right. If it is a number format in the data it should have 0's instead of blanks so double check that to.

     

     

    Let me know if you have any questions about this!

     

    Thanks,

    Lauren


    #TBMStudio


  • 4.  Re: Replace blanks with zero (in a report)?

    Posted Tue January 31, 2017 08:38 PM

    I'll give this a shot.  Thanks for the feedback @Lauren Griessel


    #TBMStudio


  • 5.  Re: Replace blanks with zero (in a report)?

    Posted Wed February 01, 2017 10:35 AM

    Doug,

     

    I also have another idea for you if the first one does not work.  This on will definitely take care of your issue, but I am not sure the amount of work you would like to do.  Just to make sure I understand your question correctly, you are running into the below and you want to get rid of the BLANKS.

     

             

     

    What you can do is create a new column and multiply your value by 1, which will not affect your reported numbers but it will fill in your BLANKS with $0.  I would recommend that you choose the Format of Currency, Type of Numeric, and Summable.  The other note I would add to this is if it is an Out of the Box report I would recommend trying to fix the values at the source and not the report to maintain the upgrade path.  If it is a custom report the above will work.

     

    Thank you and let me know if this helps or have any other questions. 

     

    Doug Mahan


    #TBMStudio


  • 6.  Re: Replace blanks with zero (in a report)?

    Posted Wed February 01, 2017 10:41 AM

    Curious, but regardless of the blanks, when you export, does it come through with $0?  I have some reports that have the blanks as well, but after exporting the blanks are replaced with $0. 


    #TBMStudio


  • 7.  Re: Replace blanks with zero (in a report)?

    Posted Thu February 09, 2017 03:54 PM

    @Doug Copeland

     

    Did you happen to get what you were looking for and been able to implement?

     

    -Ryan


    #TBMStudio


  • 8.  Re: Replace blanks with zero (in a report)?

    Posted Thu February 09, 2017 08:30 PM

    Thanks to all who replied.  This issue was overcome by events.... I ended up redesigning the report due to some other issues.


    #TBMStudio


  • 9.  RE: Replace blanks with zero (in a report)?

    Posted Mon September 13, 2021 01:15 AM
    Is there a way to do the reverse of this? ... I'd like $0 values in a numeric column of a report to appear blank.

    ------------------------------
    Jaitabh Jewel Sharma
    TBM Practice Manager
    KPMG Australia
    ------------------------------



  • 10.  RE: Replace blanks with zero (in a report)?

    Posted Mon September 13, 2021 12:13 PM
    The substitute formula should be able to handle both ways - replace a BLANK or replace a zero.

    =Substitute(Cost,"0","")