How do I insert a single value from a table filtered by the user into a measure?

claired1071

New Member
Joined
Jun 14, 2021
Messages
3
Office Version
  1. 365
Platform
  1. Windows
I'm trying to find out how to get the average output value that is specific to a unit, tractor, department, and model, into a measure, and then multiply it by a hard-coded number. The relationship between these factors is seen in the Data Table photo.

The average output value changes based off of the user's inputs with the dropdown menu filters as seen in the Interface photo (Unit, Tractor, Department, Model).

Capture2.PNG
 
Last edited by a moderator:

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
The cool thing with DAX is that it will automatically consider any filters applied to the data, unless you tell it not to. I'm relatively new to this myself, so there might be a better way. Create a new measure with something like NewMeasure = CALCULATE(SUM('Table'[stake])*10), obviously swapping out the parts as appropriate for your table. That should get you what you need.

1623764549813.png
 
Upvote 0
Solution

Forum statistics

Threads
1,215,351
Messages
6,124,445
Members
449,160
Latest member
nikijon

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top