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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

dynamic calculation

Hi everyone,

 

I have two tables. The first one is the Target table and the second one is achievement table. The target table actually is occurring two different measures. Real currency rate and manual currency rate. When users want to measure with their own currency number, one can choose the currency and parity, and then the table is calculated by this selection. ** The image is below.

ahmetalper1990_1-1643477988889.png

 

The achievement table which is the second table in the image above comes from SQL Query. 

 

I want to establish a connection between the two tables. The target numbers ought to compare with achievement numbers and if achievement numbers pass over the target numbers, the exceeding part should be minus from next months' target.

Every number is calculated by measure except the achievement table. 

I try to make another table to divide the target value by months. The real currency measure can be divided by months. However, the manual currency measure can not be divided by months. It returns Infınıty value, yet the currency and parity are already chosen. ** The image is below. 

 

ahmetalper1990_2-1643478269168.png

 

 

My main problem is the currency and the parity selection do not count on the table above. I tried many possibilities but i can not overcome the issue. I am waiting for your solution. Thank you.

2 REPLIES 2
v-xiaotang
Community Support
Community Support

Hi @Anonymous 

please provide more details,

 (1) a sample file, you can replace raw data with bogus data to protect your privacy.

     or provide some sample data that fully covers your issue/question.

(2) give your expected result based on the sample you provide. Attach the calculation process please if necessary.

Kindly note: Please ensure the data in sample is concise and representative.

Thanks.

 

Best Regards,

Community Support Team _Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

MFelix
Super User
Super User

Hi @Anonymous ,

 

You cannot pass values from slicer to table values, meaning that you cannot add a column to your data table that gets calculated based on the slicer selection. In this case you need to make the calculation within your measure.

 

Can you please share a mockup data or sample of your PBIX file and expected result. You can use a onedrive, google drive, we transfer or similar link to upload your files.

If the information is sensitive please share it trough private message.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors