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
sdhn
Responsive Resident
Responsive Resident

Values Over 100 % should be dispaly as 100%

Hi All,
 
I am using following mesaure to calculate Deployed% of products.
 
 Deployed % = DIVIDE ('Table'[NAD],[TED])
 
NAD & TED are simple mesaures and retriving values from columns. 
 
NAD = SUM(Table[Product Agent Deployed])
TED = SUM('Table'[Total points])
 
On graph I used Product Names and above mesure to display.
 
One departmnet is showing 101 %.
We do not want to show anyting more than 100 %.
 
Any number over 100 % should be dispaly as 100 %.
 
What to add in the code?  Your help will be appreciated. 
 
Thanks 
1 ACCEPTED SOLUTION
Fowmy
Super User
Super User

@sdhn 

Use the following measure:

Deployed % = MIN( DIVIDE ('Table'[NAD],[TED]) , 1 )
Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

View solution in original post

8 REPLIES 8
Fowmy
Super User
Super User

@sdhn 

Use the following measure:

Deployed % = MIN( DIVIDE ('Table'[NAD],[TED]) , 1 )
Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

sdhn
Responsive Resident
Responsive Resident

Deployed % = MIN( DIVIDE ('Tenable'[NAD],[TED],1)
OR
Deployed % = MIN( DIVIDE ('Tenable'[NAD],[TED],1))
 
The MIN function only accepts a column reference as an argument.
 
 

@sdhn 

Hope you are creating a MEASURE with the formula that I shared, I tested and it works. You may share a dummy file with this scenario.

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

sdhn
Responsive Resident
Responsive Resident

NED & TED ar ealso measue retriving values of columns as below:

 

NAD = SUM(Table[ Agent Deployed])
TED = SUM('Table'[Total points])
Anonymous
Not applicable

Hi @sdhn ,

 

I think min(...,1) will work. Here I have a test in my sample. NED & TED are both measures and it works well.

1.png

NAD = SUM('Table'[Product Agent Deployed])
TED = SUM('Table'[Total points])
Deployed % = MIN(DIVIDE ([NAD],[TED]),1)

Result is as below.

1.png

 

Best Regards,
Rico Zhou

 

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

sdhn
Responsive Resident
Responsive Resident

message as:

 

The MIN function only accepts a column reference as an argument.

sdhn
Responsive Resident
Responsive Resident

I removed "DIVIDE" from the code.  Code validated but all values become 100 %.

I want to display 100 % when its over 100 % or equal to 100 %.  Thanks 

 

Deployed % =
VAR _Ratio =
(
SUM('Table'[Product Agent Deployed])+ SUM('Table'[Total points])
)
RETURN
MIN ( _Ratio1 )
sdhn
Responsive Resident
Responsive Resident

I wrote this but getting errors:

 

Deployed % =
VAR _Ratio =
DIVIDE (
SUM('Table'[Product Agent Deployed])+ SUM('Table'[Total points])
)
RETURN
MIN ( _Ratio, 1 )
 
 
ERROR:
Too few arguments were passed to the DIVIDE function. The minimum argument count for the function is 2.

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.