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.
I have this visual that will display any comments made in a record for an employee. The page filters by Year, Month, and Employee. This works fine. However, I want this comment visual (it is a very simple matrix) to show any comments made for the next month. The reason is the field leaders will comment on an employee's prior month performance. I hope this makes sense. I just cannot figure out the Dax (or filter setting) to accomplish this. Here is a visual. In this example, the comment was entered on August 2 for this employee's July performance. We would like that to show on the July report. And there should be only ONE Field leader comment per employee per month.
Solved! Go to Solution.
@CMSGuy , assume the comment table has a date and that is joined with the common date table
next month comment =
calculate(lastnonblank(Comment[Comment], "NA"), nextmonth('Date'[Date]))
Previous month comment =
calculate(lastnonblank(Comment[Comment], "NA"), Previousmonth('Date'[Date]))
Time Intelligence, DATESMTD, DATESQTD, DATESYTD, Week On Week, Week Till Date, Custom Period on Period,
Custom Period till date: https://youtu.be/aU2aKbnHuWs&t=145s
Thank you!
@CMSGuy , assume the comment table has a date and that is joined with the common date table
next month comment =
calculate(lastnonblank(Comment[Comment], "NA"), nextmonth('Date'[Date]))
Previous month comment =
calculate(lastnonblank(Comment[Comment], "NA"), Previousmonth('Date'[Date]))
Time Intelligence, DATESMTD, DATESQTD, DATESYTD, Week On Week, Week Till Date, Custom Period on Period,
Custom Period till date: https://youtu.be/aU2aKbnHuWs&t=145s
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
106 | |
93 | |
75 | |
62 | |
50 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |