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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
asjones
Helper V
Helper V

Calculations Based off A Field Parameter Selection

I have table visual that displays line times with a value columns for "Actuals" and a Field Parameter for two different types of budgets. Next in the visual I really want variance (Actual - Budget) and Variance % (Actuals/Budget -1) as the next two columns in the table. However I want the two variance columns to calculate based on the Budget field parameter selected. Is there a clean way to do this. I don't want to show want budget type, but accidentally show a variance on another budget type. I even tried using the field from the field parameter in the variance calculations but that did not work.

Any clean simple ideas?

Thanks
Alan

2 REPLIES 2
asjones
Helper V
Helper V

I might be confusing myself to much and thinking it is more simple than i thought, but was confused in how to apply it to my case. I watched a few other videos and it seemed like several others noted that an extra column might be needed.
https://www.youtube.com/watch?v=YEB5sezlPE4

amitchandak
Super User
Super User

@asjones , In these two example I have used the selected value of field parameters

 

Switch TOPN with Field Parameters: https://amitchandak.medium.com/switch-topn-with-field-parameters-299a0ae3725f
Field Parameters- Conditional Formatting: https://amitchandak.medium.com/field-parameters-conditional-formatting-517aacc23fdf

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.