Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
| MODEL NAME | ON TIME? |
| A | YES |
| B | |
| C | NO |
| D | NO |
I would like to see how many % on time is YES. The calcuation should look like this 1/3=33%
I dont want to include the blank B in my total.
How to write DAX measure ?
Solved! Go to Solution.
Hi,
Please check the below picture and the attached pbix file.
Yes percentage measure: =
VAR _yes =
COUNTROWS ( FILTER ( Data, Data[ON TIME?] = "YES" ) )
VAR _allcountwithoutblank =
COUNTROWS ( FILTER ( Data, Data[ON TIME?] <> BLANK () ) )
RETURN
DIVIDE ( _yes, _allcountwithoutblank )
Hi,
Please check the below picture and the attached pbix file.
Yes percentage measure: =
VAR _yes =
COUNTROWS ( FILTER ( Data, Data[ON TIME?] = "YES" ) )
VAR _allcountwithoutblank =
COUNTROWS ( FILTER ( Data, Data[ON TIME?] <> BLANK () ) )
RETURN
DIVIDE ( _yes, _allcountwithoutblank )
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 29 | |
| 28 | |
| 27 | |
| 26 | |
| 19 |
| User | Count |
|---|---|
| 56 | |
| 48 | |
| 39 | |
| 28 | |
| 21 |