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
JoannaDOB
New Member

Converting empty date fields to the filtered month

Hi Team,

 

I am very new to PBI so I would appreciate any suggestion!

 

What am I trying to calculate: % of users who enrolled into a learning activity vs all headcount, both monthly and YTD. I got PBI to calculate the number of users, but I don't know how to turn it into %. I have included picture of how this looked in an old PowerPoint/Excel report, and dummy data with the tab of how we would do the calculations manually.

 

What I have as a source: A data table that lists all learning activities with users and learning date, and includes also the list of users who didn't participate and their date is (blank) - see dummy data.

 

What I want to know: Is there a formula I can use that will allow the inactive users to be always displayed on the chart, for any month I choose? 

  • Currently, the YTD works. But if I filter for month, the inactive users disappear, because their month is (blank) (see attached image)
  • Ideally, I would want that each time I filter for month, I get a visual showing me the difference between active and inactive users for the selected month.

I have looked at this solution, but it replaces the empty field with current date, and I am too green to edit it myself. Thank you in advance for any suggestions!

Old reporting in PPT - % of headcount displayedOld reporting in PPT - % of headcount displayedInactive users disappear when date is selectedInactive users disappear when date is selected

1 REPLY 1
Wilson_
Super User
Super User

Hey Joanna,

 

I think I can help. However, can you please link a sample pbix file too? I think there are some quirks I'm not quite understanding and a pbix would help me out.




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

Proud to be a Super User!





Helpful resources

Announcements
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.