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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.