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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
rixmcx59
Helper IV
Helper IV

Get a value from another table in M query. Related() or lookup or?

Hello all, I have an Azure Usage table with some resources do not have a value in the tags column (Blank).

 

I have another table with resource groups and the proper tags for those groups, can I use the advanced editor to join on resource group and populate the blank tags in the usage table.

 

The related field would be resource group=resourcegrouplkup

 

Right now I have modified the "Replace Values" step to use "each if, then, else" but it's getting very messy and long and not sure if there is a limit to the if's or's. 

 

Thanks

1 ACCEPTED SOLUTION
v-frfei-msft
Community Support
Community Support

Hi @rixmcx59 ,

 

Hope this blog could help you. If it doesn't meet your requirement, kindly share your sample data and excepted result to me. Please upload your files to One Drive and share the link here.

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

View solution in original post

5 REPLIES 5
v-frfei-msft
Community Support
Community Support

Hi @rixmcx59 ,

 

Hope this blog could help you. If it doesn't meet your requirement, kindly share your sample data and excepted result to me. Please upload your files to One Drive and share the link here.

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Frank, thanks for the post, the custom VLookUp function works just fine.

Hello, thanks for the respose, my organizational account does not allow access to one drive? I will look into my icloud, I think I can share files from there.

 

If I share my pbix will it be of any use? the data connections are using my credentials to connect to Azure Consumption Insights connector.

Anonymous
Not applicable

Hey @rixmcx59 

Did you try using Lookupvalue?

Ta

I am looking for a solution in M language, not DAX. I want to do this in the advanced query editor. Thanks

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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