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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
yishenhui
Helper II
Helper II

Slicer filter not working well on table with mixed columns

Hi,

 

I have a date slicer filter,  a table sheet with this date column, two measures related to this date field. The measures have "all" filters with the whole data table. When the date silcer selected "All", there is no issue. When I selecting a date range, I thought the filter should apply to the date column in the table sheet and only show the rows with the date in the range. however, it does not. It only remove some blank rows in the measure and one of the measure is not working if the date is not in the range. The screenshot as below". Is there a way to let the table sheet show correctly after select the date range? Or any solution similar?

before select date range:

image.pngimage.png

 

The two measures are: (using Offset to show previous log time if exist and calculate the duration)

EachLog_PreviousLogTimestampe = CALCULATE(max('Activity-EachLog-Detail'[LogTimeStamp]),all('Activity-EachLog-Detail'),offset(-1,all('Activity-EachLog-Detail'[Incident],'Activity-EachLog-Detail'[LogTimeStamp]),ORDERBY('Activity-EachLog-Detail'[LogTimeStamp]),KEEP,PARTITIONBY('Activity-EachLog-Detail'[Incident])))
 
EachLog_Gap_days = DATEDIFF([EachLog_PreviousLogTimestampe],max('Activity-EachLog-Detail'[LogTimeStamp]),HOUR)/24
0 REPLIES 0

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.