Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
| 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 )
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 61 | |
| 49 | |
| 30 | |
| 25 | |
| 23 |
| User | Count |
|---|---|
| 128 | |
| 102 | |
| 56 | |
| 39 | |
| 31 |