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

How to add new column with existing value

please find below table, need to new column like "expect" column based by BKG_Num & Con_Cum (earlier month come at expect column)

 

BKG_NUMCON_NUMMONTHEXPECT
SHALBND00579AMFU3154791October-18October-18
SHALBND00579AMFU3154791November-18October-18
SHLCGP000394AMFU3154791April-18April-18
SHLCU18000007AMFU3154791April-18April-18
SHLCU18000007AMFU3154791September-18April-18
SHLCGP000463AMFU3157928June-18June-18
SHLCGP000500AMFU3198784June-18June-18
SHLCGP000500AMFU3198784July-18June-18
1 ACCEPTED SOLUTION
Minseven
Helper I
Helper I

add a calculated column:

 

 
EXPECT2 = 
CALCULATE (
    MIN ( Table1[MONTH] ),
    ALLEXCEPT ( Table1, Table1[BKG_NUM], Table1[CON_NUM] )
)
 
You will maybe have to rewrite your MONTH column to have month readable syntax

View solution in original post

2 REPLIES 2
Minseven
Helper I
Helper I

add a calculated column:

 

 
EXPECT2 = 
CALCULATE (
    MIN ( Table1[MONTH] ),
    ALLEXCEPT ( Table1, Table1[BKG_NUM], Table1[CON_NUM] )
)
 
You will maybe have to rewrite your MONTH column to have month readable syntax

Thanks MinSeven

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.