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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
sokatenaj
Advocate II
Advocate II

Struggling with a Filter function

Hi Folks,

 

I have a box called "Over Due Reviews" and I use this calculated column and a count of "Over Due" in a data tile:

 

  1. Review Status = IF (TODAY() >= 'Active EEs'[Next Review Date] + 30, "Over Due", "Not Yet Due") 

We consider a review late if it is over 30 days the "Next Review Date" and if that is greater than "today" hence the logic above. However, we have over 20 companies in our organization and some reviews are done based on this logic and some are based on a focal review date where everyone has it on the same date regardless of their start date so this logic above can't be used because none of the reviews would be late and I want it to say "N/A" in that tile instead of showing a number of over due reviews. 

 

So here's my dilemma. I know it is a sort of "FILTER" function and I've tried it so many different ways and I cannot get it to work. 

 

For example, companies A, B, C, D, F, H have the next review date logic, but companies E and G do not. 


I have row-level security enabled so if someone from company G goes into this report I want it to say "N/A" for them and not a value and when someone from company B signs in they see the overdue #. 

 

I'm sure I'm over complicating it. Can someone please help? Many, many thanks. 

1 ACCEPTED SOLUTION
Omega
Impactful Individual
Impactful Individual

I'm not sure about the security part. Regarding the filtering, you can try the following approach: 

 

1) Create a table with two columns: Company name and Logic (Y/N)

2) In column Logic (Y/N), put 1 if the company will use the logic and 0 if the company will not use the logic

3) Create a relationship between the new table and the original using company as a key

4) Update the Review Date Logic formula as below:

 

Review Status = IF (Related (Table 1 [Logic Y/N]) = 1,
IF (TODAY() >= 'Active EEs'[Next Review Date] + 30, "Over Due", "Not Yet Due"),
"N/A"))

 

View solution in original post

3 REPLIES 3
Omega
Impactful Individual
Impactful Individual

I'm not sure about the security part. Regarding the filtering, you can try the following approach: 

 

1) Create a table with two columns: Company name and Logic (Y/N)

2) In column Logic (Y/N), put 1 if the company will use the logic and 0 if the company will not use the logic

3) Create a relationship between the new table and the original using company as a key

4) Update the Review Date Logic formula as below:

 

Review Status = IF (Related (Table 1 [Logic Y/N]) = 1,
IF (TODAY() >= 'Active EEs'[Next Review Date] + 30, "Over Due", "Not Yet Due"),
"N/A"))

 

This worked! Thanks @Omega!!!

Thanks @Omega. I'll try this later tonight to see if it works. Many thanks. 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors