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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
admin11
Memorable Member
Memorable Member

How to create a Flag to filter those over due more then 100 days ?

Hi All

 

@Ashish_Mathur help me a lot for solve my issue :-

https://community.powerbi.com/t5/Desktop/How-to-compute-due-date-base-on-invoice-date-and-Credit-ter...

 

Now i got one more requirement , only filter over due more then 100 days , See the image below  :-

 

admin11_0-1652739785859.png

 

 

Seek help to modify the below expression :-

 

Due = today()-(AR_S[AR Invoice Date]+AR_S[TERM])+1

 

I have try to add 100 to above expression , it does not work. 

 

My PBI file :-

https://www.dropbox.com/s/i0tsqun6e58cfmd/AR%20ADL%20V007.pbix?dl=0

 

 

Paul

2 ACCEPTED SOLUTIONS
Ashish_Mathur
Super User
Super User

Hi,

In the "_Flag_Due > 1 Day" calculated column formula, I simply changed >1 to >100.  This is the result i got

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

You are welcome.  Please read up on the AND() function and doit yourself.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

4 REPLIES 4
Ashish_Mathur
Super User
Super User

Hi,

In the "_Flag_Due > 1 Day" calculated column formula, I simply changed >1 to >100.  This is the result i got

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

@Ashish_Mathur 

Thank you very much for your help , it work fine. 

 

How about can i filter only 152 to 181 ? How to modify the code ?

 
_Flag_Due 152 to 181 = if(AR_S[Due]>152&&AR_S[Due]<181 ,1,0)
I have try above it look like not correct .
 
Paul

You are welcome.  Please read up on the AND() function and doit yourself.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

@Ashish_Mathur @Yes , thank you sir . I will do the read up . 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors