Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hello I´m trying to get log count from the last 7 days by day. Like today -1, today - 2, today -3 ans so on up to 7 days.
I´m using this formula but I´m receiving the same results for each day
Hello @SebastianAE
create a dimdate table ,
link it to the table --> audit_log
use in your visuals the date from the dimdate
create the below measure :
Current Day7 =
CALCULATE(
DISTINCTCOUNT(AUDIT_LOG[SUCCEED_ROW_COUNT]),
DATEADD(dimdate[date], -7,DAY),
all(dimdate)
)
let me know if this helps ..
If my answer helped sort things out for you, i would appreciate a thumbs up 👍 and mark it as the solution ✅
It makes a difference and might help someone else too. Thanks for spreading the good vibes! 🤠
Hi Daniel, thank you for your help unfortunately this didn´t work.
User | Count |
---|---|
77 | |
74 | |
62 | |
61 | |
45 |
User | Count |
---|---|
108 | |
102 | |
93 | |
83 | |
64 |