cancel
Showing results for
Did you mean:
Frequent Visitor

## Sum what-if parameters into grand total

Hi there,

Is there a way to sum up a what-if parameter in a table?

In other words, the user enters 50 in the parameter. Has a column in which the values are output as well as the parameters.
At the end there is a total column, the parameter should also be summed up here. Say with 4 lines the total amount would be 200

I'm looking forward to your ideas on how I can solve this 🙂

Kind regards

1 ACCEPTED SOLUTION
Super User

@Meeresblume just multiple numbers of rows with what if parameter

``Value = COUNTROWS ( Table ) * [What If parameter value] ``

Learn about conditional formatting at Microsoft Reactor

My latest blog post The Power of Using Calculation Groups with Inactive Relationships (Part 1) (perytus.com) I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.

Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

2 REPLIES 2
Community Support

Hi, @Meeresblume

If  it does, could you please mark the post which help as Answered? It will help the others in the community find the solution easily if they face the same problem with you. Thank you.

It makes it easier to give you a solution.

1. Sample (dummy dataset) data as text, use the table tool in the editing bar
2. Expected output from sample data
3. Explanation in words of how to get from 1. to 2.

Best Regards,
Community Support Team _ Zeon Zheng

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

Super User

@Meeresblume just multiple numbers of rows with what if parameter

``Value = COUNTROWS ( Table ) * [What If parameter value] ``

Learn about conditional formatting at Microsoft Reactor

My latest blog post The Power of Using Calculation Groups with Inactive Relationships (Part 1) (perytus.com) I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.

Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Announcements

#### The Power BI Community Show

Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.

#### Ted's Dev Camp - July 28, 2022

Watch Session 24 of Ted's Dev Camp along with past sessions!