Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
kalif
Helper I
Helper I

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 
1 ACCEPTED SOLUTION
rocky09
Solution Sage
Solution Sage

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

View solution in original post

4 REPLIES 4
v-frfei-msft
Community Support
Community Support

Hi @kalif ,

 

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] )
)

Capture.PNG

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

How to Copy the Date Value Same Like the above Table
rocky09
Solution Sage
Solution Sage

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

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.


 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.