Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

blank count

Hi all,

 

i want create a kpi object .     count of blank  seats      from the table   SELECT * from Personal.fact_AIS_Specific   ;

 

how can i create a measure?

2 ACCEPTED SOLUTIONS
az38
Community Champion
Community Champion

@Anonymous 

try measure like

CALCULATE(COUNTROWS(Table), ISBLANK(Table[seats]))

 


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

View solution in original post

amitchandak
Super User
Super User

@Anonymous , Try

calculate(countrows(Personal),isblank(Personal[fact_AIS_Specifi]))

View solution in original post

5 REPLIES 5
amitchandak
Super User
Super User

@Anonymous , Try

calculate(countrows(Personal),isblank(Personal[fact_AIS_Specifi]))

az38
Community Champion
Community Champion

@Anonymous 

try measure like

CALCULATE(COUNTROWS(Table), ISBLANK(Table[seats]))

 


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn
Anonymous
Not applicable

im trying this is it fine?

 

 

COUNTBLANK(Table[Seats])
az38
Community Champion
Community Champion

@Anonymous 

that's great, I never used this function before 🙂

but pay attention - 

If no rows are found that meet the condition, blanks are returned.

do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn
Anonymous
Not applicable

thank you.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.