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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors