Forum Discussion

kintela's avatar
kintela
Icon for Helper II rankHelper II
9 years ago

one to many question

Hi

I have this relationship

 

 

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

 

 

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

 

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

 

 

Any idea pleae?

 

Regads

 

 

2 Replies

  • v-qiuyu-msft's avatar
    v-qiuyu-msft
    Icon for Community Support rankCommunity Support

    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

    • kintela's avatar
      kintela
      Icon for Helper II rankHelper II

      Hi v-qiuyu-msft

       

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

       

      Regards