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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.