Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
ArulselvanD07
Helper I
Helper I

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!

 

 

1 ACCEPTED SOLUTION

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.

View solution in original post

2 REPLIES 2
v-piga-msft
Resident Rockstar
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

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

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.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors