cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
xRTP
Helper V
Helper V

Counting blanks

Hello, 

Need help with the conditional function like where. I want to count requestID where pending audit = blanks.

OMPending QA =
CALCULATE(
COUNTROWS('CA Omega'), 'CA Omega'[Request ID],'CA Omega'[Pending Audit] = BLANK())
But the error said it can't display the visual.

xRTP_0-1654425291177.png

 

1 ACCEPTED SOLUTION

Hi, I think i got it

OMPending QA =
CALCULATE (
COUNT ( 'CA Omega'[Request ID] ),
FILTER ( 'CA Omega', 'CA Omega'[Pending Audit] = BLANK () )
)
But thanks tho!

View solution in original post

8 REPLIES 8
Anonymous
Not applicable

OMPending QA =
CALCULATE(
DISTINCTCOUNT(CA Omega'[Request ID]),ISBLANK('CA Omega'[Pending Audit] ))
Anonymous
Not applicable

Hello

 

Try this :

OMPending QA =
CALCULATE(
DISTINCTCOUNT5CA Omega'[Request ID]°,isblank('CA Omega'[Pending Audit] ))

Hi, the CA Omega'[Pending Audit] turns grey

tamerj1
Super User
Super User

Hi @xRTP 
Please try

Number of Blank =
CALCULATE ( COUNTROWS ( 'CA Omega' ), 'CA Omega'[Pending Audit] = BLANK () )

Yah it works, but the thing is I want to depend it to requestID. Is it possible? Because my total request ID's that was blank is 113 and this code returns 115 rows 

@xRTP 
Not sure what do you mean but I gues you're looking for either 

Number of Blank =
CALCULATE ( COUNT ( 'CA Omega'[Request ID ), 'CA Omega'[Pending Audit] = BLANK () )

or

Number of Blank =
CALCULATE ( DISTINCTCOUNT ( 'CA Omega'[Request ID ), 'CA Omega'[Pending Audit] = BLANK () )

Otherwise please provide one example

Hello,

My table name is CA Omega and Request ID and Pending Audit are my columns.
The thing is, i want to count RequestID that was blank in Pending Audit, i dont want to count Pending Audit alone because it also count my excel's blank item. Its like count RequestID where Pending Audit = blank.

xRTP_0-1654431224466.png

 

Hi, I think i got it

OMPending QA =
CALCULATE (
COUNT ( 'CA Omega'[Request ID] ),
FILTER ( 'CA Omega', 'CA Omega'[Pending Audit] = BLANK () )
)
But thanks tho!

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors