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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

Reply
Anonymous
Not applicable

Count a measure with percent over 100%

Hello, 

 

I would like to count how many times my data goes over 100% from one of my DAX percent measures. I have tried it multiple ways but I am returning null values with my measure (Count%over100), here is what I have so far. Any help would be greatly appreciated.

Fiscal YearPM IDWO Asset IDResult%over100Count%over100Percentage%Standard
FY 2020GRNDS-01D80-PYGRDINV-011 117%
FY 2020GRNDS-01D80-PYGRDINV-021 117%
FY 2021PLMNT-02D84-PYGRDINV-011 111%
FY 2021PLMNT-02G11-PYGRDINV-011 111%
FY 2019GRNDS-02C47-PYGRDINV-011 108%
FY 2019GRNDS-02E52-PYGRDINV-011 108%
FY 2020GRNDS-01P57-PYGRDINV-011 108%
FY 2020GRNDS-02A10-PYGRDINV-021 108%
FY 2020GRNDS-02B03-PYGRDINV-011 108%
FY 2020GRNDS-02B60-PYGRDINV-011 108%
FY 2020GRNDS-02D48-PYGRDINV-011 108%
FY 2020GRNDS-02M38-PYGRDINV-011 108%
FY 2021GRNDS-07RD05-PYGRDINV-011 108%
FY 2021PLMNT-02D92-PYGRDINV-011 106%
FY 2021PLMNT-02G11-PYGRDINV-021 106%
FY 2019PLAYGRNDS-01B09-PYGRDINV-010 100%
FY 2019PLAYGRNDS-01B20-PYGRDINV-010 100%
FY 2019PLAYGRNDS-01B50-PYGRDINV-010 100%

 

 

Percentage%Standard = CALCULATE(DIVIDE('Maintenance Frequency'[TotalDate],'Maintenance Standards'[TotalStandardCount]))
Results%over100 = 
IF([Percentage%Standard] > 1,1,0)
Count%over100 = 
CALCULATE(COUNTROWS('Maintenance Frequency'),FILTER('Maintenance Frequency',[Percentage%Standard] > 1))

 

 
Desired Output: 

Count%over100Percentage%Standard
1117%
1117%
1111%
1111%
1108%
1108%
1108%
1108%
1108%
1108%
1108%
1108%
1108%
1106%
1106%
 100%
 100%
 100%
Total 15 
1 ACCEPTED SOLUTION
v-deddai1-msft
Community Support
Community Support

Hi @Anonymous ,

 

Would you please try the following measure:

Count%over100 = 
COUNTROWS(
    FILTER(SUMMARIZE('Maintenance Frequency','Maintenance Frequency'[Fsical Year],'Maintenance Frequency'[PM ID],'Maintenance Frequency'[WO Asset ID],"Result%over100",[Result%over100]),[Result%over100]>1
    )
)

 

If it doesn't work, please show us some sample data.

 

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

 

Best Regards,

Dedmon Dai

View solution in original post

5 REPLIES 5
v-deddai1-msft
Community Support
Community Support

Hi @Anonymous ,

 

Would you please try the following measure:

Count%over100 = 
COUNTROWS(
    FILTER(SUMMARIZE('Maintenance Frequency','Maintenance Frequency'[Fsical Year],'Maintenance Frequency'[PM ID],'Maintenance Frequency'[WO Asset ID],"Result%over100",[Result%over100]),[Result%over100]>1
    )
)

 

If it doesn't work, please show us some sample data.

 

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

 

Best Regards,

Dedmon Dai

Ashish_Mathur
Super User
Super User

Hi,

Try this measure

Count%over100 = 
COUNTROWS(
    FILTER(
        VALUES('Maintenance Frequency'[WO Asset ID]),
        [Percentage%Standard] > 1
    )
)

Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

Hello, 

 

Thanks for measure! It appears to return a result but it doesn't seem to be counting correctly. The result should be a total of 15 but it returned 274. 

 

 

results.PNG

Hi,

Share the link from where i can download your PBI file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Fowmy
Super User
Super User

@Anonymous 

Can you try the following measure:

 

Count%over100 = 
COUNTROWS(
    FILTER(
        'Maintenance Frequency',
        [Percentage%Standard] > 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

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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