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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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 Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.