cancel
Showing results for
Did you mean:
Highlighted Helper III

## Increasing Average Basket size by value of slider

Hi,

I have an issue that I am trying to sort out... miserably....

I have a column for the turnover for each day, next to it I have a column for the number of transactions per day. This means I can calculate the average basket value (turnover/number of transactions = Average Basket Value).

I want to now add the results of the What If slider to the average basket value and then recalculate the turnover based on the new basket value. So as the user slides the slider and keeps adding the average basket value (or the new increased average basket value), increases, then the new turnover for each day is calculated by (New Averge Basket Value * number of transactions = New Turnover).

I have my What if Slider working, I have the average basket value working, but I cannot get each row to update with a new average basket value based on the value generated by the slider. That is, each row's new basket value should be Average Basket Value + Value of slider.

Any assistance would be appreciated.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted Community Support

## Re: Increasing Average Basket size by value of slider

hi, @duggy

After my test, you can try to add several measures to achieve it.

Assume that this is the basic data. Step1:

`Average Basket Value = CALCULATE(SUM(Table1[turnover ]))/CALCULATE(SUM(Table1[number of transactions ]))`

Step2:

Add a what if New Parameter Step3:

`new Average Basket Value = [Average Basket Value]+Parameter[Parameter Value]`

Step4:

`new turnover = [new Average Basket Value]*CALCULATE(SUM(Table1[number of transactions ]))`

Result:  here is pbix, please try it.

Best Regards,

Lin

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

## Re: Increasing Average Basket size by value of slider

hi, @duggy

After my test, you can try to add several measures to achieve it.

Assume that this is the basic data. Step1:

`Average Basket Value = CALCULATE(SUM(Table1[turnover ]))/CALCULATE(SUM(Table1[number of transactions ]))`

Step2:

Add a what if New Parameter Step3:

`new Average Basket Value = [Average Basket Value]+Parameter[Parameter Value]`

Step4:

`new turnover = [new Average Basket Value]*CALCULATE(SUM(Table1[number of transactions ]))`

Result:  here is pbix, please try it.

Best Regards,

Lin

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

Announcements #### Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members. #### Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start. #### Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications #### Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021 Top Solution Authors
Top Kudoed Authors
Users online (996)