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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

Calculate a column with a percentage range

Hello guys,

 

can anyone help me with this issue? 
I am trying to calculate a column of numbers, let's called it ordervalue, with a percentage range of 4-7%.

Example: 

120000 * 4-7% = 

How can I do that ? 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

You can try what-if parameters to get the dynamic percentage range.

Use parameters to visualize variables - Power BI | Microsoft Learn

1.Create what-if parameters.

vstephenmsft_0-1693291984789.png

vstephenmsft_2-1693292338738.png

vstephenmsft_3-1693292453086.png

Create a measure to calculate. Because it is a dynamic result, only measures can be used here, and the calculated column is a static result.

You can slide the slicer to get different values to multiply the Order Value.

Measure = SUM('Table'[Order Value])*[Parameter Value]

vstephenmsft_4-1693292475851.png

vstephenmsft_5-1693292496124.png

                                                                                                                                                         

Best Regards,

Stephen Tao

 

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

 

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @Anonymous ,

 

You can try what-if parameters to get the dynamic percentage range.

Use parameters to visualize variables - Power BI | Microsoft Learn

1.Create what-if parameters.

vstephenmsft_0-1693291984789.png

vstephenmsft_2-1693292338738.png

vstephenmsft_3-1693292453086.png

Create a measure to calculate. Because it is a dynamic result, only measures can be used here, and the calculated column is a static result.

You can slide the slicer to get different values to multiply the Order Value.

Measure = SUM('Table'[Order Value])*[Parameter Value]

vstephenmsft_4-1693292475851.png

vstephenmsft_5-1693292496124.png

                                                                                                                                                         

Best Regards,

Stephen Tao

 

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

 

TomMartens
Super User
Super User

Hey @Anonymous ,

 

I have to admit that I do not understand the expected outcome.

Basically, it's not possible to store multiple numeric values in a single cell within Power BI. Either you create multiple rows, or multiple column. My recommendation is multiple rows.

 

I consider the information you provided scarce, for this reaeson, I'm not able to provide more guidance or even a solution.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany
Anonymous
Not applicable

First thank you for you fast reply,

To make things clear: I didn't mean a single cell. It was just a quick example of the calculation I am trying to do...so sorry for that 😄 

I am trying to calculate the numbers of a column, called ordervale, with a percantage range 

Column
Order Value
891283

1784

7848

38912

7898

500

38912

600



Now I need a new column or measure, that helps me calculate all of these numbers with the range of 4-7%. 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.