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
tanako123
New Member

Copy rows with same ID

Hi guys/girls,

 

I am pretty new at powerBI 

 

Can someone help me solve this problem i would like to copy the type and sintie with the same formulierID.

 

FormulierIDvolg_nrNaamTypeDateSintie
781joepregulier3-janwada
782jaapnull3-jannull
783joopnull3-jannull
834timregulier6-janwoll
841bertpolitie3-janwazaa
851bowieregulier8-janhah
852aaanull8-jannull

 

This is how it should look like

 

 

FormulierIDvolg_nrNaamTypeDateSintie
781joepregulier3-janwada
782jaapregulier3-janwada
783joopregulier3-janwada
834timregulier6-janwoll
841bertpolitie3-janwazaa
851bowieregulier8-janhah
852aaaregulier8-janhah

 

Many thanks!!

1 REPLY 1
Zubair_Muhammad
Community Champion
Community Champion

Hi @tanako123

 

Try these calculated columns

I assume null means BLANK

 

Type New =
CALCULATE (
    FIRSTNONBLANK ( Table1[Type], 1 ),
    ALLEXCEPT ( Table1, Table1[FormulierID] )
)
Sintie New =
CALCULATE (
    FIRSTNONBLANK ( Table1[Sintie], 1 ),
    ALLEXCEPT ( Table1, Table1[FormulierID] )
)

Regards
Zubair

Please try my custom visuals

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.