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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Chandrashekar
Resolver III
Resolver III

Slicer : Date Issue

Hello,

 

I am having 2 tables(Calendar & Sheet1). When I use date from calendar I am getting all the dates which is not available in Sheet1.

 

How to get dates only available in Sheet1 and I need to use date from Calendar table only.

 

Link: Sample Data 

 

Regards,

Chandrashekar B

14 REPLIES 14
Dangar332
Super User
Super User

Hi, @Chandrashekar 

check below .pbix file . it might help

Refer HERE  

Thanks. It works is there any other way to get other than lookup.

 

Regards,

Chandrashekar B

hi, @Chandrashekar 

 

it's possible but i did not get answer at this time.


it's possible in measure but you want in column and at this time i not get solution beacuse i try serval  time without lookup but i get erroe then i use lookup function.

 

here using measure 

Dangar332_0-1697607355591.png

 

 

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

Ok. Thank you

 

Regards,

Chandrashekar B

Hello,

 

Could not able to find PBIX file in the link provided.

 

Regards,

Chandrashekar B

it not open or something else?

click Here 

Hello,

 

May be file missing in the folder.

 

Chandrashekar_0-1697605623417.png

 

Regards,

Chandrashekar B

hi, @Chandrashekar 

 

Dangar332_0-1697605756570.png

 

dowanload file it automatically open in power bi desktop

i indicate green circle in image

Dangar332
Super User
Super User

Hi, @Chandrashekar

 

Calculate (max('calender'[datecolumn]),keepfilters ('sheet'[datecolumn]))

 

Adjust your table name and column name

Hello,

 

Should I do this changes in Calendata table. rite?

 

Regards,

Chandrashekar B

Make a new measure in calendar table and use that measure.

You get your answer 

Hello,

 

I tried but cannot able to drag measure into slicer. Can you show it in sample file.

Link: Sample Data 

 

Regards,

Chandrashekar B

No if you want to use in slicer than it not work.

You can make separate table and connect it with calendar table 

Hello,

 

I have done it but still am getting all the dates which is not there in Sheet1 Table.

 

Regards,

Chandrashekar B

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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