cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Spotto
Helper II
Helper II

Relationship between tables

Hi everyone, I'm having a relationship doubt.

I need to filter data in GDP table and return values ​​from INTERFACE table

 

Table GDP

Spotto_0-1656764382820.png

 

Table INTERFACE

Spotto_1-1656764425280.png

 

I need to filter from the date of the GDP table (MES_PSTO_CALC) on 01/07 and bring the value 5,555.00 from the Interface table

RESULT

Spotto_2-1656764544668.png

 

 

I leave the example of the file below:

 

testebi0207.pbix

 

 

I could do this within the power query merging the tables but I'm using DIRECTQUERY with sql and oracle tables and it's not working because it has blank spaces and with trim (text.trim) it's not allowing

 

tks for help me

1 ACCEPTED SOLUTION
Eyelyn9
Community Support
Community Support

Hi @Spotto ,

 

Make the original relationship inactive, and then create relationship based on Dates field instead:

Eyelyn9_0-1656987674112.pngEyelyn9_1-1656987715720.png

 

Best Regards,
Eyelyn Qin
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

1 REPLY 1
Eyelyn9
Community Support
Community Support

Hi @Spotto ,

 

Make the original relationship inactive, and then create relationship based on Dates field instead:

Eyelyn9_0-1656987674112.pngEyelyn9_1-1656987715720.png

 

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

Helpful resources

Announcements
August 2022 update 768x460.jpg

Check it Out!

Click here to learn more about the August 2022 updates!

August 1 episode 9_no_dates 768x460.jpg

The Power BI Community Show

Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Top Solution Authors
Top Kudoed Authors