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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
basim
Frequent Visitor

Inner Joining and getting data on the basis of where clause.

I have two tables in which one table field is primary key and another is foreign key.

I want apply inner join and want new table in which i need to get column from the second table on the basis of  the value first table column. 

 

How to do in Power BI ? Please define step by step.

1 ACCEPTED SOLUTION
3 REPLIES 3
basim
Frequent Visitor

How to do below Query and below result in Power BI ?

 

SELECT LT.LT_NAME,LTV.LT_VALUE_TEXT from [WSS_Content_EPM_PWA].[pjpub].[MSP_LOOKUP_TABLES] LT
inner join [WSS_Content_EPM_PWA].[pjpub].[MSP_LOOKUP_TABLE_VALUES] LTV
ON LT.LT_UID = LTV.LT_UID
WHERE LT.LT_NAME = 'supporting technology department'

 

 

Untitled.jpg

What if I want to retrieve only field? How do I achieve that using DAX. SQL equivalesnt would be: SELECT SALARY FROM EMPLOYEE SALARY E1 INNER JOIN EMPLOYEE E2 ON E1.EMPLOYEE_ID = E2.EMPLOYEE_ID. How do I achieve this? 

Salary is what I want to retrieve. Can you help?

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.