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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
Anonymous
Not applicable

Auto disappear from table visual after contract end date

Hi,

 

Request your guidance regarding this issue;

 

I have a table visual in which contract end date of employees are displayed.  one column ( contenddate) shows the last working day of employee in date format . Next to that is a column ( status) which displays whether it is terminated/resigned/retired .  For these  three cases once the last working day is over ( say 10th August 2022) then this record should not be displayed in the visual. is there any way to make this happen.  ( i dont want to make any change in the database - xls table )

 

kindly advice

 

regards,

dsmitha

 

1 ACCEPTED SOLUTION
v-yanjiang-msft
Community Support
Community Support

Hi @Anonymous ,

According to your description, in my understanding you want the contract end date which is over not display in the visual, you can create a measure.

Check =
IF ( MAX ( 'Table'[Contract end date] ) > TODAY (), 1, 0 )

Then put the measure in the visual filter and select its value to 1.

vkalyjmsft_0-1661846235263.png

After apply filter, get the correct result, the date(2022/8/10) is filtered out.

vkalyjmsft_1-1661846276536.png

I attach my sample below for your reference.

 

Best Regards,
Community Support Team _ kalyj

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

4 REPLIES 4
v-yanjiang-msft
Community Support
Community Support

Hi @Anonymous ,

According to your description, in my understanding you want the contract end date which is over not display in the visual, you can create a measure.

Check =
IF ( MAX ( 'Table'[Contract end date] ) > TODAY (), 1, 0 )

Then put the measure in the visual filter and select its value to 1.

vkalyjmsft_0-1661846235263.png

After apply filter, get the correct result, the date(2022/8/10) is filtered out.

vkalyjmsft_1-1661846276536.png

I attach my sample below for your reference.

 

Best Regards,
Community Support Team _ kalyj

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Anonymous
Not applicable

hi v-kalyj-msft,

 

thanks a ton ! this is exactly what i was looking for

excellent solution

 

thanks again

 

regards,

dsmitha

 

rsbin
Community Champion
Community Champion

@Anonymous ,

Select your Table Visual.

Then in the Filter Pane, under "Status", deselect the 3 values ( terminated/resigned/retired ) that you do not want to show up.

 

Anonymous
Not applicable

Hi rsbin,
Thank you for your suggestion but am afraid that i didnt make it clear in my request . Instead of applying the filter I would like to make this happen with a DAX .   Contract end date of employees are different so whenever the date today = contract end date then that record should not be displayed
 
regards,
dsmitha
 
 
PREVIEW
 

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.