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
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
Fabric Data Days is here Carousel

Data Days 2026

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

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.