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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

How to retrieve a value from another column based on conditions of two other coloumns

Hi, I need help with writing a DAX for a calculated column, but before that let me give you some information to understand the logic better. I am creating a report for one of the projects for my company and I have created a table in which I have added columns from different tables, every table has its relationship with each other as they have the common column "Equipment Number" except one table which is  CABN, this CABN table is sharing relationship with a table called AUSP having a common column ATINN, please note AUSP does have "Equipment number" as a column. 
AUSP has two columns 1) Next Classification, which has four values let's say A, B, C, and D, this is a calculated column, and 2) System Date, which has values as random dates. 
CABN has one column as Classifications which has the same common values as the Next Classification column i.e. A, B, C, D, and some other values as well, please note here since Next Classification and Classifications have common values this doesn't mean they are corresponding to each other. 
Now, coming to the logic what I'm trying to get is the System Date for the Next Classification in a new column, if Next Classification = A then return System Date for Classification = A else if Next Classification = B then return System Date for Classification = B. Similarly, if Next Classification = C then return System Date for Classification = C else if Next Classification = D then return System Date for Classification = D. 

This is what I'm trying to achieve, I would be grateful if anyone in the forum could help me out with it as I'm new to Power BI and I'm not familiar with a lot of functions and I've been stuck with this problem for the past two days. I request the forum to please share their suggestions.

1 REPLY 1
Anonymous
Not applicable

Hi @Anonymous ,

Can you please share a pbix or some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
November Fabric Update Carousel

Fabric Monthly Update - November 2025

Check out the November 2025 Fabric update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Users online (27)