Forum Discussion

abc_777's avatar
abc_777
Solution Specialist
4 years ago
Solved

Total cell hide

Hi

 

I want to show the value for 

 

Total for actual Quantity measue -  17.50 KG

 

but want to hide

Total for  total Sales Measure - 31,806.25 

 

 

  • abc_777 ,

     

    You can use the HASONEVALUE function as below,

     

    SkipTotal = IF(HASONEVALUE('Date Dim'[Month_Year]),'Measure Table'[Lasgt_6_months_Sales],blank())

     

9 Replies

  • abc_777 , if you want to hide grand total, in the measure you check for isinscope and return blank when none of rows are in scope 

     

    if(not(isinscope(Table[User_barcode]) ) , blank(), [Sales Measure])

    • abc_777's avatar
      abc_777
      Solution Specialist

      amitchandak 

       

      I have values in quantity measure and total sales measure. but when i come in grand total row I want to show grand quantity measure total but not grand total sales measure. 

       

      it would be good if you please explain little bit more

       

      thanks

  • AliceW's avatar
    AliceW
    Power Participant

    Use the column format! Choose to display the total (and not the title and values) in WHITE. Boom, you have an invisible total. Not fancy, but it works for me!

    • abc_777's avatar
      abc_777
      Solution Specialist

      can you help me with detail steps please

      • AliceW's avatar
        AliceW
        Power Participant

        Got you covered, abc!

        So, in the Desktop version, you click on the table.

        Then, you go to 'Field Formatting'.

         

        You select the column you want.

        Then, 'Font color', select white.

        Then, 'Apply to totals', and NOT to header and values.

         

         

         

  • Aburar_123's avatar
    Aburar_123
    Solution Supplier

    abc_777 ,

     

    You can use the HASONEVALUE function as below,

     

    SkipTotal = IF(HASONEVALUE('Date Dim'[Month_Year]),'Measure Table'[Lasgt_6_months_Sales],blank())

     

    • abc_777's avatar
      abc_777
      Solution Specialist

      really great abarur.

       

      thanks man.

       

      As Salamualukym

       

       

    • abc_777's avatar
      abc_777
      Solution Specialist

      can i hide two or more total cell value?

      • Aburar_123's avatar
        Aburar_123
        Solution Supplier

        abc_777 ,

         

        You need to apply same logice for other measures that you dont want Total.