Forum Discussion

ArulselvanD07's avatar
8 years ago
Solved

Populate values for a column from the database dynamically based on the filter values applied

Hi Team,

 

I have the following scenario.

 

I have a power BI model, where I am having few columns from oracle database table [Let's name it as Table A]. I have another column [Let's name it as Column B] coming from Table B.  Table B column value is a calculated value based on the filters applied on top of Table A.

 

Psuedo logi for Column B

 

Column B = Select count(1) from Table B where column values = filters applied on top of table A.

 

Is there an option available in Power BI to fetch the values dynamically based on the filters applied?

 

Thanks in advance for your suggestions and help!

 

 

  • Hi v-piga-msft I am using import method and joined the tables in my model.

     

    I have used cross filtering function and I was able to achieve the results.

2 Replies

  • v-piga-msft's avatar
    v-piga-msft
    Resident Rockstar

    Hi ArulselvanD07,

     

     I have a power BI model, where I am having few columns from oracle database table [Let's name it as Table A]. I have another column [Let's name it as Column B] coming from Table B.  Table B column value is a calculated value based on the filters applied on top of Table A.

     

    Psuedo logi for Column B

     

    Column B = Select count(1) from Table B where column values = filters applied on top of table A.

     

    Is there an option available in Power BI to fetch the values dynamically based on the filters applied? 


     

    Do you get the Data with Direct Query and create the relationship of the two table?

     

    Could you provide some data sample and your expected output, so that we can help further investigate on it?

    You can upload it to OneDrive or Dropbox and post the link here. Do mask sensitive data before uploading.)

     

    Best Regards,

    Cherry

    • ArulselvanD07's avatar
      ArulselvanD07
      Helper I

      Hi v-piga-msft I am using import method and joined the tables in my model.

       

      I have used cross filtering function and I was able to achieve the results.