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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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