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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
ehJH40
Regular Visitor

New Custom Column Conditionally Set based on Existing Column and Rows

I'm trying create a new column.  The new column should equal the existing column "Value" if the existing column "Adder" field is blank, but if it's not blank it should equal Value of current row - Value of row matching CaseID, Year, Month, Iteration, and where the value in Input_Name = the value in Adder.  For Example, in the new column for row 1, the new column value should be -0.088 (rounded)....taking the value - the corresponding value of the input name Henry Hub since that's the description in Adder. In row 7 it should simply = the value in the Value field 2.5494...

 

ehJH40_0-1683146726404.png

 

4 REPLIES 4
Kannan_n
Advocate I
Advocate I

Hi @ehJH40 

 

Can you give me the Sample file i will work and let you know what is the problum

Thanks/Regards 

Kannan. N

not seeing the option to upload a file ???

Share with your onedrive or drive 

nah.

Helpful resources

Announcements
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.