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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register 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
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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.