Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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 Year | PM ID | WO Asset ID | Result%over100 | Count%over100 | Percentage%Standard |
FY 2020 | GRNDS-01 | D80-PYGRDINV-01 | 1 | 117% | |
FY 2020 | GRNDS-01 | D80-PYGRDINV-02 | 1 | 117% | |
FY 2021 | PLMNT-02 | D84-PYGRDINV-01 | 1 | 111% | |
FY 2021 | PLMNT-02 | G11-PYGRDINV-01 | 1 | 111% | |
FY 2019 | GRNDS-02 | C47-PYGRDINV-01 | 1 | 108% | |
FY 2019 | GRNDS-02 | E52-PYGRDINV-01 | 1 | 108% | |
FY 2020 | GRNDS-01 | P57-PYGRDINV-01 | 1 | 108% | |
FY 2020 | GRNDS-02 | A10-PYGRDINV-02 | 1 | 108% | |
FY 2020 | GRNDS-02 | B03-PYGRDINV-01 | 1 | 108% | |
FY 2020 | GRNDS-02 | B60-PYGRDINV-01 | 1 | 108% | |
FY 2020 | GRNDS-02 | D48-PYGRDINV-01 | 1 | 108% | |
FY 2020 | GRNDS-02 | M38-PYGRDINV-01 | 1 | 108% | |
FY 2021 | GRNDS-07 | RD05-PYGRDINV-01 | 1 | 108% | |
FY 2021 | PLMNT-02 | D92-PYGRDINV-01 | 1 | 106% | |
FY 2021 | PLMNT-02 | G11-PYGRDINV-02 | 1 | 106% | |
FY 2019 | PLAYGRNDS-01 | B09-PYGRDINV-01 | 0 | 100% | |
FY 2019 | PLAYGRNDS-01 | B20-PYGRDINV-01 | 0 | 100% | |
FY 2019 | PLAYGRNDS-01 | B50-PYGRDINV-01 | 0 | 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%over100 | Percentage%Standard |
1 | 117% |
1 | 117% |
1 | 111% |
1 | 111% |
1 | 108% |
1 | 108% |
1 | 108% |
1 | 108% |
1 | 108% |
1 | 108% |
1 | 108% |
1 | 108% |
1 | 108% |
1 | 106% |
1 | 106% |
100% | |
100% | |
100% | |
Total 15 |
Solved! Go to Solution.
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
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
Hi,
Try this measure
Count%over100 =
COUNTROWS(
FILTER(
VALUES('Maintenance Frequency'[WO Asset ID]),
[Percentage%Standard] > 1
)
)
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.
Hi,
Share the link from where i can download your PBI file.
@Anonymous
Can you try the following measure:
Count%over100 =
COUNTROWS(
FILTER(
'Maintenance Frequency',
[Percentage%Standard] > 1
)
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
User | Count |
---|---|
142 | |
71 | |
64 | |
52 | |
50 |
User | Count |
---|---|
208 | |
91 | |
62 | |
59 | |
56 |