cancel
Showing results for 
Search instead for 
Did you mean: 
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
June 2022 update 768X460.jpg

Check it out!

Click here to read more about the June 2022 updates!

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power BI Dev Camp Session 23 768x460.jpg

Check it Out!

Mark your calendars and join us on Thursday, June 30 at 11a PDT for a great session with Ted Pattison!

June 20 episode 7 with aka link 768x460.jpg

The Power BI Community Show

Join us on June 20 at 11 am PDT when Kim Manis shares the latest on Azure Synapse analytics, the Microsoft Intelligent Data Platform, and notable Power BI Updates from Microsoft Build 2022.

Top Solution Authors
Top Kudoed Authors