Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
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:
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.
Solved! Go to Solution.
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"))
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"))
User | Count |
---|---|
124 | |
106 | |
99 | |
63 | |
59 |
User | Count |
---|---|
135 | |
116 | |
101 | |
71 | |
61 |