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
CarmeloSanchez
New Member

Use a table created with dax in power query

Hi everyone,

 

First of all thanks for reading me.

 

The problem is that I have calculated a table using dax (combining, joining and using lookupvalue and related with several tables) and now I need to send it back to power query in order to make a step with the calculated table. The step is to split de rows depending on the number of days (difference between start and end).

 

I think the only option is to use excel to obtain data from powerbi, create a dinamic table and in other page of the same sheet create a table that uses the values of the dinamic table, and then obain data from that excel.

 

Do you think there is any better opcion?

 

Thank you in advance.

 

PS: I would mark as solve with the best answer.

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@CarmeloSanchez , In power query you can use merge

 

Lookup in power query

https://community.powerbi.com/t5/Desktop/How-to-lookup-values-in-another-table-in-the-Query-Editor/t...

https://eriksvensen.wordpress.com/2019/02/28/powerquery-replicate-doing-an-excel-vlookup-in-m/

 

 


Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@CarmeloSanchez , In power query you can use merge

 

Lookup in power query

https://community.powerbi.com/t5/Desktop/How-to-lookup-values-in-another-table-in-the-Query-Editor/t...

https://eriksvensen.wordpress.com/2019/02/28/powerquery-replicate-doing-an-excel-vlookup-in-m/

 

 


Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

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.