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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Counting Blank in each row

Hi,

 

I have a data as per below,

 

A,B & C are the salesman & 01/05   02/05   03/05  are dates

As per data, A worked for 02 days, B for 01 day & C for all 03 days

 

I want to create a new column "working days" here, How to do that.

 

 

      01/05   02/05   03/05   Working Days

A     10         12                      2

B                             11           1

C    13           12        15         3

 

Regards,

Ashraf

 

 

4 REPLIES 4
Mariusz
Community Champion
Community Champion

Hi @Anonymous 

 

Can you provide a data sample?

Thanks

Mariusz

Anonymous
Not applicable

@Mariusz  Could you please check now

@Anonymous  not working

Anonymous
Not applicable

Hi ,

 

Please see below,

 

I want to get the values of working days column(Where there is blank in sales column, it meansDummy Data.png salesman didnt working on that day.

 

Thanks..

Anonymous
Not applicable

@Anonymous Please try below solution and check if it works

1. Go to edit query

2. Select all the column in among which you want to find non blank values

3. Click on add column tab

4. Click on statistics and select count values option 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.