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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Jedahn
Frequent Visitor

Dax Formula

Hello Power BI Developers,

 

Good day. I have a question. I'm using this function in excel:
=IFERROR(XLOOKUP(C2,'Jan Interactions'!G:G,'Jan Interactions'!I:I),0)

C2 = Column in Sheet 1

Jan Interactions = Sheet 2 name

G:G = Column in Sheet 2

I:I = Column in Sheet 2

 

What Power BI formula i can use same with this? Please site some example.

 

Thank you very much

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Jedahn ,

 

According to your description, here are my steps you can follow as a solution.

(1) This is my test data. 

sheet1:

vtangjiemsft_0-1676961969269.png

Jan Interactions

vtangjiemsft_1-1676961987678.png

(2) We can create a  calculated column.

 

Column = IFERROR( LOOKUPVALUE('Jan Interactions'[I],'Jan Interactions'[G],'Sheet1'[C2]),0)

 

(3) Then the result is as follows.

vtangjiemsft_2-1676962019950.png

vtangjiemsft_3-1676962074679.png

Please refer to the document for more information.

 

Best Regards,

Neeko Tang

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

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Jedahn ,

 

According to your description, here are my steps you can follow as a solution.

(1) This is my test data. 

sheet1:

vtangjiemsft_0-1676961969269.png

Jan Interactions

vtangjiemsft_1-1676961987678.png

(2) We can create a  calculated column.

 

Column = IFERROR( LOOKUPVALUE('Jan Interactions'[I],'Jan Interactions'[G],'Sheet1'[C2]),0)

 

(3) Then the result is as follows.

vtangjiemsft_2-1676962019950.png

vtangjiemsft_3-1676962074679.png

Please refer to the document for more information.

 

Best Regards,

Neeko Tang

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

@Jedahn , refer

refer 4 ways (related, relatedtable, lookupvalue, sumx/minx/maxx with filter) to copy data from one table to another
https://www.youtube.com/watch?v=Wu1mWxR23jU
https://www.youtube.com/watch?v=czNHt7UXIe8

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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