The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
please find below table, need to new column like "expect" column based by BKG_Num & Con_Cum (earlier month come at expect column)
BKG_NUM | CON_NUM | MONTH | EXPECT |
SHALBND00579 | AMFU3154791 | October-18 | October-18 |
SHALBND00579 | AMFU3154791 | November-18 | October-18 |
SHLCGP000394 | AMFU3154791 | April-18 | April-18 |
SHLCU18000007 | AMFU3154791 | April-18 | April-18 |
SHLCU18000007 | AMFU3154791 | September-18 | April-18 |
SHLCGP000463 | AMFU3157928 | June-18 | June-18 |
SHLCGP000500 | AMFU3198784 | June-18 | June-18 |
SHLCGP000500 | AMFU3198784 | July-18 | June-18 |
Solved! Go to Solution.
add a calculated column:
EXPECT2 = CALCULATE ( MIN ( Table1[MONTH] ), ALLEXCEPT ( Table1, Table1[BKG_NUM], Table1[CON_NUM] ) )
add a calculated column:
EXPECT2 = CALCULATE ( MIN ( Table1[MONTH] ), ALLEXCEPT ( Table1, Table1[BKG_NUM], Table1[CON_NUM] ) )
Thanks MinSeven