Forum Discussion
How to filter data for no date rows
- 5 years ago
Anonymous
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)please see the attachment below
Anonymous
your sample data is too simple. please try to add more data with different names and also provide the expected output.
- Anonymous5 years agoNot applicable
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.
- ryan_mayu5 years ago
Super User
Anonymous
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)please see the attachment below
- Anonymous5 years agoNot applicable
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.