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

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

Reply
BI_Analyticz
Helper V
Helper V

How to filter data for no date rows

I have a data like below. Name, Date, Submission State.

If you look at the below data John has no data for 3 and 4 Mar 2021. I managed to display the empty rows visually using the option "Show items with no data".

 

But I want to quickly filter the visual to see the list of names that dont have data for any of the dates during a specific period. if I use a drop down filter using the Submisson State I get YES / NO as values inside the drop down which is obvious. I select NO and export the data and circulate it. Similarly I want to filter and export the names of those who are missing the data for any dates. So John's name shoul come for 3 Mar.

 

Is this possible..? I am using a calendar table for the below visual.

 

BI_Analyticz_0-1617711964993.png

BI_Analyticz_1-1617711998034.png

 

1 ACCEPTED SOLUTION

@BI_Analyticz 

here is a workaround for you.

1. use dax to create a new table

Table 2 = 
VAR a=DISTINCT('Table'[Name])
return CROSSJOIN(a,'Table (2)')

2. create a new column in the new table

Column = 
VAR _status=LOOKUPVALUE('Table'[Submitted],'Table'[Name],'Table 2'[Name],'Table'[Date],'Table 2'[Date])
return if(ISBLANK(_status),"nodata",_status)

1.PNG

please see the attachment below





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

Proud to be a Super User!




View solution in original post

8 REPLIES 8
ryan_mayu
Super User
Super User

@BI_Analyticz 

your sample data is too simple. please try to add more data with different names and also provide the expected output.





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

Proud to be a Super User!




I have added more as requested. If you can see We have Yes, No as values in Submitted column. I have used Calendar table and successfully showing "No Data" too for the dates wherever the person is not having an entry as shown in 2nd screenshot. Now I want a slicer as shown in the 3rd screenshot.

 

BI_Analyticz_0-1617722692318.png

BI_Analyticz_2-1617722949349.png

 

BI_Analyticz_1-1617722708548.png

 

@BI_Analyticz 

here is a workaround for you.

1. use dax to create a new table

Table 2 = 
VAR a=DISTINCT('Table'[Name])
return CROSSJOIN(a,'Table (2)')

2. create a new column in the new table

Column = 
VAR _status=LOOKUPVALUE('Table'[Submitted],'Table'[Name],'Table 2'[Name],'Table'[Date],'Table 2'[Date])
return if(ISBLANK(_status),"nodata",_status)

1.PNG

please see the attachment below





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

Proud to be a Super User!




I have no words to praise you. This solution is really gonna help a lot like me. It worked like a magic. Real discovery... Thanks a lot.

you are welcome





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

Proud to be a Super User!




amitchandak
Super User
Super User

@BI_Analyticz , You have create a measure like this

 

new measure =
var _max = max(Table[Staus])
if(isblank(_max), "No",_max)

 

Join it with an independent table having value Yes and no, and create a new measure that use this table with values yes and no

 

refer to the video of dynamic segmentation , how to approach this

https://youtu.be/CuczXPj0N-k

 

or

https://www.daxpatterns.com/dynamic-segmentation/
https://radacad.com/grouping-and-binning-step-towards-better-data-visualization

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak or let me put it another way. I want to filter out the dates for which there is no data for the names.

I am not able to understand this technique since I am very new. Can you please attach a pbix so that I could figure it out.

Helpful resources

Announcements
October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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 Kudoed Authors