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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
MasterSonic
Helper IV
Helper IV

Power Query M calculated column countif - minus - count blanks

Hi guys

I am looking for a help with creating column based on this logic:

 

count rows where values is not "Day" minus count of blank values 

 

Could you help me with that please.

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@MasterSonic , Try a dax calculated column of measure

 

countx(filter(Table, Table[value]<> "Day"), Table[value]) - countrow(filter(Table, isblank(Table[Value])))

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@MasterSonic , Try a dax calculated column of measure

 

countx(filter(Table, Table[value]<> "Day"), Table[value]) - countrow(filter(Table, isblank(Table[Value])))

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors