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! Get ahead of the game and start preparing now! Learn more
Hello world
I am trying to create a dax that count the number of blanks - this represent the number of Dealers who have no contributed.
The way i have done it I have create a new table with Unique values from the main table and used that as a column and create a count to count the distint count of values but where thers is no data add 0.
Cant seem to count the blanks/no data/0.
Here is the sample file: Sample File
Hello,
Putting a date value(05/04/2024) as a column in the visual is odd and you're probably not following the best practices in Power BI report development.. Nevertheless, if we accept you scenario as legit - you have to filter on column [05/04/2024] which is done in the following way:
count =
CALCULATE(COUNT('Sheet1 (2)'[Counter Party])
,'Sheet1 (2)'[05/04/2024] = 0
)
Do not use DISTINCTCOUNT in this case because it will result in a count of 1 (only 1 distinct value on the filtered column equals 0). Also, if [05/04/2024] is an actual date column(as it should be), reference the name of that column instead(i.e. [Date] instead of [05/04/2024]) in the formula above.
Pls let me know if that works.
Hello @Vertig00
that would not seem to work for my case. The reason i have got a date in the column (at the moment its showing 1 day) becuase I am understanding daily which dealer has contributed files.
I used DistinctCount because there are some dealers who send 2 files in a day.
Main outcome is to
1) identify the number of Dealer contributing
2) Identify the number of Dealer who have not contributing on that day
Here is the sample file: Sample File
Hiiii @ViralPatel212
this Dax measure will help you
CountOfBlanks =
CALCULATE(
COUNTROWS(MainTable),
ISBLANK(MainTable[ContributionColumn])
)
If it did help you please give thumbs up and accept it as a solution.
Hiii @ViralPatel212
Can you explain to me what you want now?
hii @Khushidesai0109
Main outcome is to
1) identify the number of Dealer contributing
2) Identify the number of Dealer who have not contributing on that day
Here is the sample file: Sample File
As you can see i need to create a new measure to count the 0
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |