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

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
pmhoang94
Helper I
Helper I

Issue slicer date range

Hi all,

I have a slicer date (option: before) from table DimTime(Time). (start date: 1/2/2017 and end date: 26/6/2017)

I create meassure

MaxDate = CALCULATE(MAX(DimTime[Time]), ALLSELECTED(DimTime))

My issue is:

 - If I choose date is 26/6/2017, maxdate is 26/6/2017. It is true.

- If I choose date is 27/6/2017, maxdate is 26/6/2017. It is false.

I want to maxdate display correct date choosed. Or only choose date range start date: 1/2/2017 and end date: 26/6/2017 (not allow choose 27/6/2017)

Capture.PNGCapture1.PNG

Can anyone help me?

4 REPLIES 4
Anonymous
Not applicable

Do you have data in the table DimTime that actually has 27/6/2017 data in it?

 

If none, then the measure is working properly.

I do not have data in 27/6/2017.

When I choose 27/6/2017, i want my measure result is 27/6/2017. Or do not allow choose 27/6/2017

Anonymous
Not applicable
Anonymous
Not applicable

Sorry, but I don't think that's how a measure works.

 

You either put in dummy data for 27/6 or resize the date slicer viz under Format > Text Size and then put in a "MaxDate" text box under or next to it.

Helpful resources

Announcements
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.