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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Show items in a list that are not listed in a table

I've a list of users and the all dates when they're logged on. Example below:

User IDLogin date (MM/DD/YYYY)
109/30/2020
110/02/2020
110/03/2020
110/04/2020
210/05/2020
210/06/2020
309/30/2020

 

I've also a list with 3 users in it named A, B and C with respectively IDs 1, 2 and 3. Now I want a list with all users that haven't signed on in september. The result of that list must only be user with ID 2. That filter must be depended on a slicer in the report itself. So if the user select october, the result must only be user with ID 3.

 

How could I do that?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous 

You may try my way build a Calendar as a Slicer and build a Measure.

Slicer = CALENDARAUTO()
Measure = 
Var _Sel = SELECTEDVALUE ( Slicer[Date].[MonthNo] )
VAR _A =
    CALCULATE (
        MAX ( 'Table'[User ID] ),
        FILTER (
            'Table',
            'Table'[Login date (MM/DD/YYYY)].[MonthNo]
                = _Sel
        )
    )
RETURN
    IF ( _A = BLANK (), 1, 0 )

Build a table visual by ID column and drag Measure into Filter set showing items when the value equal to 1.

 Result is as below.

1.png

You can download the pbix file from this link: Show items in a list that are not listed in a table

 

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. 

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

@Anonymous , Assuming sep is last month with time intelligence and date calendar

 

last = if( isblank(CALCULATE(count(Table[user ID]),DATESMTD(dateadd('Date'[Date],-1,MONTH)))),1, blank())

 

Plot this iwth user id you will get the result

 

To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :
https://radacad.com/creating-calendar-table-in-power-bi-using-dax-functions
https://www.archerpoint.com/blog/Posts/creating-date-table-power-bi
https://www.sqlbi.com/articles/creating-a-simple-date-table-in-dax/

See if my webinar on Time Intelligence can help: https://community.powerbi.com/t5/Webinars-and-Video-Gallery/PowerBI-Time-Intelligence-Calendar-WTD-YTD-LYTD-Week-Over-Week/m-p/1051626#M184


Appreciate your Kudos.

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
Anonymous
Not applicable

It didn't work when the month is august or earlier. I also need that data and it's not 100% trustworthy.

Anonymous
Not applicable

Hi @Anonymous 

You may try my way build a Calendar as a Slicer and build a Measure.

Slicer = CALENDARAUTO()
Measure = 
Var _Sel = SELECTEDVALUE ( Slicer[Date].[MonthNo] )
VAR _A =
    CALCULATE (
        MAX ( 'Table'[User ID] ),
        FILTER (
            'Table',
            'Table'[Login date (MM/DD/YYYY)].[MonthNo]
                = _Sel
        )
    )
RETURN
    IF ( _A = BLANK (), 1, 0 )

Build a table visual by ID column and drag Measure into Filter set showing items when the value equal to 1.

 Result is as below.

1.png

You can download the pbix file from this link: Show items in a list that are not listed in a table

 

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. 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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