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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
ashraf_SISL
Regular Visitor

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 @ashraf_SISL 

 

Can you provide a data sample?

Thanks

Mariusz

@Mariusz  Could you please check now

@Anonymous  not working

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

@ashraf_SISL 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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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