cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
kintela Member
Member

one to many question

Hi

I have this relationship

 

captura.jpg

 

Where one Oferta can be associated to many Proyectos but many Proyectos can exists without any Oferta associated

 

captura.jpg

 

So I want to show in my report all the Ofertas the Proyectos associated with.

 

captura.jpg

But all, not only the Ofertas taht exists in the Proyectos table. But either I select single or both in the relationship when I add the filed Proyectos.proyecto only shows the Ofertas tah exists in Proyectos

 

captura.jpg

 

Any idea pleae?

 

Regads

 

 

2 REPLIES 2
Moderator v-qiuyu-msft
Moderator

Re: one to many question

Hi @kintela,

 

From your description, Ofertas linked to Proyectos based on the ID and OfertaID, you want to get the Proyectos which are associated with Ofertas, right?

 

In your scenario, you can create a measure to filter non related records like below:

m = CALCULATE(MAX('Table1'[Proyecto]),FILTER('Table1','Table1'[OfertaID]<>BLANK()))

 

You can take a look at attached .pbix file. If it doesn't meet your requirement, please tell us the expected results based on our sample data.

 

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
kintela Member
Member

Re: one to many question

Hi @v-qiuyu-msft

 

In this case I think that the question is how to configure the cross filter direction.

 

Regards