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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Thomas_cho
New Member

Add a conditional column with a great complexity

Hello everyone,

 

I'm having difficulties with a database in Power BI. Attached is a file containing a fragment of the database.

My database translates the state changes of an object in a software ("intlog_intervention" being the object number), and each row indicates the modifications that occur on the object. I have a column that contains information called "Val_new_prio," which indicates the new value after a modification to a field (2: valid, 3: completed, etc.). My goal is to determine the state of the object at the time of a modification (e.g., a date change). Ideally, a new column should provide the object's state at any given moment, regardless of the nature of the modification.

Below you will find a file with a screenshot of an Excel file showing the expected result. The additional column takes its values from the "Val_new_prio" column to provide the state for each row.

 

Power BI colonne additionnelle.PNG

Thank you in advance.

0 REPLIES 0

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.