Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

COPY VALUE FROM ANOTHER COLUMN

Dear

 

Find below Table Values & Output view

 

Current Table - If Ref & ID both are same copy claim amount to ID aslo

 

Table 1
       
IDNameServiceClassFoodRefClaims
125XXXXNNN3NV0 
126YYYYUUU2V125150
128VVVVMMM3NV0120
129SSSSRRRR1V0129
130AAACCC2NV0 
131KKKBBB1NV13080
132PPPPLLLL1NV13085
       

 

OutPut

 

Table 1 
        
IDNameServiceClassFoodRefClaims 
125XXXXNNN3NV0150 
126YYYYUUU2V125150 
128VVVVMMM3NV0120 
129SSSSRRRR1V0129 
130AAACCC2NV080(1st value)
131KKKBBB1NV13080 
132PPPPLLLL1NV13085 
  • Your Query is not clear. Can you please provide some more inforamtion along with a single example.

4 Replies

  • rocky09's avatar
    rocky09
    Icon for Solution Sage rankSolution Sage

    Your Query is not clear. Can you please provide some more inforamtion along with a single example.

    • Anonymous's avatar
      Anonymous
      Not applicable

      Column ID  is Mother ID

      Coumn REF is Child ID -

      But Claim amount mentioned at Child ID 

      same will copy to Mother ID


      rocky09 wrote:

      Your Query is not clear. Can you please provide some more inforamtion along with a single example.


       

  • v-frfei-msft's avatar
    v-frfei-msft
    Icon for Community Support rankCommunity Support

    Hi Anonymous ,

     

    To ceate a measure as below.

     

    Measure = 
    IF (
        ISBLANK ( MAX ( Table1[Claims] ) ),
        CALCULATE (
            FIRSTNONBLANK ( Table1[Claims], SUM ( Table1[Claims] ) ),
            FILTER ( ALL ( Table1 ), Table1[Ref] = MAX ( Table1[ID] ) )
        ),
        MAX ( Table1[Claims] )
    )
    

     

    Regards,

    Frank

    • Anonymous's avatar
      Anonymous
      Not applicable
      How to Copy the Date Value Same Like the above Table