cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MiltonChapman
Regular Visitor

Power BI Newbie - Dax Formula Help

Hi,

 

I have two tables with a collumn in each in which i need to pull a value from the first table and collumn, if a particular value is present then present this in a new collumn (do not reference the second table), if the collumn is NULL or has another value then reference the second table and collumn, if a particular value is present then present this value, id NULL or has another value exclude from the new collumn. 

 

Table 1

Collumn Name: Vehicle Severity1

If Value Present show in new collumn in table 2 Very Severve / Severe / Less Severe

If value Null / Vehicle Incident REFERENCE TABLE 2

 

Table 2

Collumn Name: Vehicle Severity2

If Value Present show in new collumn in table 2 Very Severve / Severe / Less Severe

If value Null / Vehicle Incident EXCLUDE FROM DATA.

 

I hope this makes sense, any and all help would be much appreciated

 

Many thanks in advance

 

Milton

1 REPLY 1
v-yuta-msft
Community Support
Community Support

@MiltonChapman,

 

Could you clarify more details about expression like "pull a value from the first table and collumn" and "if the collumn is NULL or has another value then reference the second table and collumn"? The logic is not so clear, if possible, could you share some sample data and expected results for further analysis?

 

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

July 2021 Update 768x460.png

Check it out!

Click here to read more about the July 2021 Updates

Top Solution Authors
Top Kudoed Authors