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 Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

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.

Get Ready for Power BI Dev Camp

Microsoft named a Leader in The Forrester Wave

Microsoft received the highest score of any vendor in both the strategy and current offering categories.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors