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
DylanBanINT
Helper I
Helper I

Percentage of Monthly Numbers based on over

I have a table (example below) which has a set of values, I've set up another column to populate with a 1 whenever that value is higher than a certain number.

 

I am trying to calculate the percentage of how many times the value is over a certain amount so I can put this into a monthly graph

 

Going by the below graph the values should be roughly 50% for January, 33% Feb and 75% for March however unsure on how I would get these into a table. Any help appreciated.

 

Year-MonthValueOver 1Percentage Of
    
January 20220.9null 
January 20221.21 
January 20221.31 
January 20220.85null 
February 20220.2null 
February 20221.21 
February 20221.31 
March 20221.51 
March 20221.61 
March 20221.81 
March 20220.9null 
1 ACCEPTED SOLUTION
VahidDM
Super User
Super User

Hi @DylanBanINT 

 

You can use a measure like below:

Over a Number =
VAR _Over1 =
    CALCULATE ( COUNTROWS ( 'Table' ), 'Table'[Value] > 1 )
VAR _Overall =
    COUNTROWS ( 'Table' )
RETURN
    DIVIDE ( _Over1, _Overall )

 

Output:

VahidDM_0-1665052000451.png

 

 

 

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

Appreciate your Kudos!! 

Badges.jpg

LinkedIn | Twitter | Blog | YouTube 

 

View solution in original post

1 REPLY 1
VahidDM
Super User
Super User

Hi @DylanBanINT 

 

You can use a measure like below:

Over a Number =
VAR _Over1 =
    CALCULATE ( COUNTROWS ( 'Table' ), 'Table'[Value] > 1 )
VAR _Overall =
    COUNTROWS ( 'Table' )
RETURN
    DIVIDE ( _Over1, _Overall )

 

Output:

VahidDM_0-1665052000451.png

 

 

 

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

Appreciate your Kudos!! 

Badges.jpg

LinkedIn | Twitter | Blog | YouTube 

 

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.