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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
TXAPpdev89
New Member

Measure for % of data in 1 column equal to 100% or greater

I have a column with data and I want to calculate the % of instances in the column that are 100% or greater.  How do I write this?

Sample of data:

File #      Score

31781      103.03

32096      102.33

32565      92.5

45698      98.5

58887      89.5

 

I'd also like a measure for count of Files # =<100%

 

Thank you!

2 ACCEPTED SOLUTIONS
parry2k
Super User
Super User

@TXAPpdev89 

Measure Count = COUNTROWS ( Table )

Measure Count Above 100 = 
CALCULATE ( 
   [Measure Count],
   Table[Score] > 100 //if value is stored in % then change 100 to 1
)

Measure Count Below 100 = 
CALCULATE ( 
   [Measure Count],
   Table[Score] < 100 //if value is stored in % then change 100 to 1
)


Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

View solution in original post

Anonymous
Not applicable

Hi @TXAPpdev89 

 

Thanks for the reply from parry2k .

 

You can also use the following measures.

% = 
VAR _countAll = COUNT('Table'[File #])
VAR _count = CALCULATE(COUNT('Table'[File #]), FILTER('Table', [Score] > 100))
RETURN
DIVIDE(_count, _countAll)

 

count = CALCULATE(COUNT('Table'[File #]), FILTER('Table', [Score] <= 100))

 

Output:

vxuxinyimsft_0-1731403795520.png

 

Best Regards,
Yulia Xu

 

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

4 REPLIES 4
Anonymous
Not applicable

Hi @TXAPpdev89 

 

Thanks for the reply from parry2k .

 

You can also use the following measures.

% = 
VAR _countAll = COUNT('Table'[File #])
VAR _count = CALCULATE(COUNT('Table'[File #]), FILTER('Table', [Score] > 100))
RETURN
DIVIDE(_count, _countAll)

 

count = CALCULATE(COUNT('Table'[File #]), FILTER('Table', [Score] <= 100))

 

Output:

vxuxinyimsft_0-1731403795520.png

 

Best Regards,
Yulia Xu

 

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

parry2k
Super User
Super User

@TXAPpdev89 

Measure Count = COUNTROWS ( Table )

Measure Count Above 100 = 
CALCULATE ( 
   [Measure Count],
   Table[Score] > 100 //if value is stored in % then change 100 to 1
)

Measure Count Below 100 = 
CALCULATE ( 
   [Measure Count],
   Table[Score] < 100 //if value is stored in % then change 100 to 1
)


Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

parry2k
Super User
Super User

@TXAPpdev89 explain this "calculate the % of rows"



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Perhaps calling it % of instances or entries in that column (Score column) what % is equal to or greater than 100%

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors