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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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