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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

Reply
RKK
Frequent Visitor

How to add NA to table visual

Hi,

I'm creating a resource report that uses following tables: one listing each resource name and their manager names, and the other one is assignment table records with assignment_id, date, manager_status, week start date, end date, resource name, hours_worked. One to many relationships between resource and assignment table using resource name.

 

The report displays a table with the resource name, manager name, week start date, manager_status, and hours_worked. When a week(week start date) is selected in the slicer, the table will show the assignments submitted that week. If a resource hasn't submitted an assignment, the fields for "worked hours" and "manager status" are blank because no data exists in the backend.

My goal is to replace these blanks with "N/A" to indicate missing submissions. Additionally, I want to count these "N/A" entries and display the total in a card.

 

The check here is there is no data available at the backend to make the changes, because will get entires once resources submitted their assignment sheet.

Can anyone guide me on how to set this up?

 

1 ACCEPTED SOLUTION
Bipin-Lala
Super User
Super User

Hi @RKK ,

 

I worked on a similar report setup recently. We had a User table (containing all user data) and a DailyTimesheet table that captured daily timesheet entries. If a user didn’t submit a timesheet for a particular day, no entry existed, similar to your case.

 

Initially, we used measures to mark missing entries as “Entry Missing,” but this approach complicated calculations and analysis.

Instead, we did the following:

  1. Created a MasterTimesheet table by performing a cross join between the Date (last 3 months) and User ID to generate entries for each user for each day.
  2. Linked MasterTimesheet and DailyTimesheet tables on Week Date and User ID via a left join (or relationship) to pull timesheet data into MasterTimesheet. Submitted days populated data, while unsubmitted days had nulls (replaced with “N/A”).
  3. Linked MasterTimesheet with the User table to include user information for reporting.

This approach provided a complete view of timesheet data, including missing entries, making it easier to analyze. I recommend a similar setup in your case.

 

Let me know if you need further help! 😊




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


Regards,

Bipin Lala | Business Intelligence Developer



View solution in original post

1 REPLY 1
Bipin-Lala
Super User
Super User

Hi @RKK ,

 

I worked on a similar report setup recently. We had a User table (containing all user data) and a DailyTimesheet table that captured daily timesheet entries. If a user didn’t submit a timesheet for a particular day, no entry existed, similar to your case.

 

Initially, we used measures to mark missing entries as “Entry Missing,” but this approach complicated calculations and analysis.

Instead, we did the following:

  1. Created a MasterTimesheet table by performing a cross join between the Date (last 3 months) and User ID to generate entries for each user for each day.
  2. Linked MasterTimesheet and DailyTimesheet tables on Week Date and User ID via a left join (or relationship) to pull timesheet data into MasterTimesheet. Submitted days populated data, while unsubmitted days had nulls (replaced with “N/A”).
  3. Linked MasterTimesheet with the User table to include user information for reporting.

This approach provided a complete view of timesheet data, including missing entries, making it easier to analyze. I recommend a similar setup in your case.

 

Let me know if you need further help! 😊




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


Regards,

Bipin Lala | Business Intelligence Developer



Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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