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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Anonymous
Not applicable

Adding column to DAX table with new values from another table

Hello,

 

I need your support for the following issue please. I created a DAX table (Table B) starting from (Table A), in order to have the most recent audit date by company, by audit type, by status.

 

After getting the (table B), i want to add for each line, the corresponding value from (table A) column (Score).  

Please see below example.

 

Thanks for your support.

 


PBI.JPG

 

3 REPLIES 3
v-lionel-msft
Community Support
Community Support

Hi @Anonymous ,

 

Please refer to my .pbix file.

Column = 
LOOKUPVALUE(
    'table A'[Score],
    'table A'[Company], 'Table'[Company],
    'table A'[Date], 'Table'[Date],
    'table A'[Status], 'Table'[Status],
    'table A'[type], 'Table'[type]
)

cc5.PNG

.PBIX FILE 

 

Best regards,
Lionel Chen

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

amitchandak
Super User
Super User

Daviejoe
Memorable Member
Memorable Member

Does this help?

 

https://www.pbiusergroup.com/communities/community-home/digestviewer/viewthread?GroupId=547&MessageK...





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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

Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.