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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Rahulsingh
Helper I
Helper I

URGENT- Data Filtering Issue

Hi Everyone 

 

I am looking for some help in regards to Date slicer filtering. 

 

I need to filter all Serial No's up to End of Received Date as well as Serial No's where PaidofDate is greater than End of Received Date Slicer selection. 

 

Measure 

SelectedMaxDate = CALCULATE(MAX('Table1'[ReceivedDate]),ALLSELECTED('Table1'))

I have used Calculated column 

SerialNO= IF(OR('Table1'[Status]="Active",'Table1'[PaidOffDate]>[SelectedMaxDate]),'Table1'[SerialNo],"No") 

They all does not seem to work . Please see screenshot below

Any Help would be greatly appreciated.Account.JPG

 

 

 

 

 

 

 

3 REPLIES 3
Anonymous
Not applicable

@Rahulsingh,

What is your expected result based on the above sample data? Your DAX formula works as expected in my Desktop, but it seems that you need to change 'Table1'[SerialNo] to 'Table1'[Serial No.].

SerialNO= IF(OR('Table1'[Status]="Active",'Table1'[PaidOffDate]>[SelectedMaxDate]),'Table1'[Serial No.],"No") 



Regards,
Lydia

Hi Lydia 

i have changed the formula but it still doesn't work because when measure runs in a row a context then its calculates on every row.

 

 

 

 

SerialNO= IF(OR('Table1'[Status]="Active",'Table1'[PaidOffDate]>[SelectedMaxDate]),'Table1'[Serial No.],"No")

 

If you have made it work on your desktop, is it possible to share the PBX file with us? 

Anonymous
Not applicable

@Rahulsingh,

Yes. Measure will calculate according to the each row. Could you please share expected result in table format based on the above sample data and slicer selection?

Regards,
Lydia

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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