Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hello,
Basic information:
In "Green" calculation we had the change and it means: All Product > TODAY
I have an issue with measure because the measure is counting values incorrectly. I would like the measure to also take into account the individual days of the month but for rest days of December it doesn't display values:
How to change the calculation in this measure?
This is pbix file with my calculations:
Could you help me, please?
Solved! Go to Solution.
I think your calculation does not consider "diff = 0" scenario. See if the below works:
Measure 2 =
var cur_yearly_review=SELECTEDVALUE('Table'[Yearly review])
var cur_date=TODAY()
var diff=DATEDIFF(cur_yearly_review,cur_date,MONTH)
-- return diff
return
SWITCH(TRUE(),
diff > 6, "More than 6 months",
diff >= 0, "Less than 6 months",
diff < 0, "All recertified")
I think your calculation does not consider "diff = 0" scenario. See if the below works:
Measure 2 =
var cur_yearly_review=SELECTEDVALUE('Table'[Yearly review])
var cur_date=TODAY()
var diff=DATEDIFF(cur_yearly_review,cur_date,MONTH)
-- return diff
return
SWITCH(TRUE(),
diff > 6, "More than 6 months",
diff >= 0, "Less than 6 months",
diff < 0, "All recertified")
User | Count |
---|---|
91 | |
77 | |
71 | |
64 | |
58 |
User | Count |
---|---|
106 | |
97 | |
76 | |
63 | |
61 |