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.

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.

Get Ready for Power BI Dev Camp

Power BI Dev Camp - September 30th, 2021

Mark your calendars and join us for our next Power BI Dev Camp!

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Top Solution Authors