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

How to show on report if any employee not ent4er data daily

Hi. 

I'm managing my team task log and everyone in the team should enter data about the task they have done daily in this table:

 

DateSr. No.ClientTask TitleTask DetailsE.TimeA.TimeTotal Hrs. (For the day)Task Status

Name

 

Is there a way to write Dax function to show the name and date on the report of any employee who didn't enter data for any day in the week.

 

Thanks a lot

9 REPLIES 9
Anonymous
Not applicable

The table isn't clear so I will write it here:
Date | Sr.No | Client | Task Title | Task Detail | E.Time | A.Time | Total Hours | Task Status | Name

Hi @Anonymous ,
To make this work, you need 2 tables. One table with all names and then table with records.
Once you have this, do following:

1. Create a relationship between those tables (based on names or some personal ID)

Migasuke_0-1673596316950.png


2. Create a measure which evaluates blank inputs. Something like:

Check = IF(COUNTROWS(Records)>0,BLANK(),"No Record")

3.Create a table where yout take Name from Employees table and combine with measures.

Migasuke_2-1673596376590.png


In my case, Lucy is the only one who does not have any record in Records table.


 

 



If my answer was helpful please give me a Kudos or even accept as a Solution.

Let's connect on LinkedIn!

Anonymous
Not applicable

Hi. Thank you for your response. 

I'm pretty new to DAX so could you please help me explain the logic behind the code. Especially this part: COUNTROWS(Records)>0 why would you use >0.

 

Thanks again for expaining this.

COUNTROWS calculate number of records. If result is zero, it means there is no record.

 

So the whole logic is,

If number of records is bigger than zero we have at least one record. If the result is zero, we do not have any record.

 

Because we have the IF statement, we then decide what to do with the logic:

more than zero --- returns blank (i am not interested in people who have record)

 

zero --- returns text "No record" (we are interested in people who do not have any)

 

Please let me know if it makes sense to you.



If my answer was helpful please give me a Kudos or even accept as a Solution.

Let's connect on LinkedIn!

Anonymous
Not applicable

Thanks for the explaination. But I think I haven't explain it clearly. So my team has more than 20 people and my boss one they to record their daily task everyday in only one sheet. I only put the column headers but there are few hundred rows of data as of now. Everyday, there should be mroe than 20 new entry and we want to know if there is a way to find out if any employee haven't entered anything yet.

Anonymous
Not applicable

Hi @Anonymous ,

 

According to your statement, I think you want to find the employees who didn't write the record each week. According to the column header you provided, I think there should be [Name] column to determind which user has entered this record and [Date] column to determind which day they entered this record.

Here I suggest you to create a DimEmployee table and a DimDate table to help you achieve your goal.

My Sample:

Data table:

RicoZhou_1-1673857459624.png

DimEmployee:

RicoZhou_0-1673857414289.png

DimDate:

DimDate = 
ADDCOLUMNS (
    CALENDAR ( MIN ( 'Table'[Date] ), MAX ( 'Table'[Date] ) ),
    "Year", YEAR ( [Date] ),
    "Month", MONTH ( [Date] ),
    "WeedNum", WEEKNUM ( [Date], 2 )
)

Relationship:

RicoZhou_2-1673857490115.png

Measure:

Employee who didn't write the record in this week = 
VAR _Values =
    CALCULATETABLE (
        VALUES ( DimEmployee[Name] ),
        FILTER ( DimEmployee, NOT ( DimEmployee[Name] IN VALUES ( 'Table'[Name] ) ) )
    )
RETURN
    CONCATENATEX ( _Values, [Name], " " )

Result is as below.

RicoZhou_3-1673857524870.png

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @Anonymous ,
can you provide example of your outcome? Printscreen in simple excel is enough.

 



If my answer was helpful please give me a Kudos or even accept as a Solution.

Let's connect on LinkedIn!

Anonymous
Not applicable

I don't have an example yet. I was thinking if we have a way to write DAX function show that it will show on the dashboard and report that which employee haven't enter new data for any date of a week. For example, each of the employee should have at least 5 new rows a week and if employee A didn't enter any data for any day of a week such as Monday, Tuesday, etc. the report will show the name of employee which is A and the date which that employee didn't enter any new data.

The measure I showed above does exactly what you mentioned. Just add to the table Date/Week or anything else you are interested in.

If I add in my example table date - I can see exactly what date Lucy did not fill in.



If my answer was helpful please give me a Kudos or even accept as a Solution.

Let's connect on LinkedIn!

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!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.

Top Solution Authors
Top Kudoed Authors