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.
I have created a measure to calc the % of days an employee is on the schedule based on the selected dates. I want to compare that to how many days the employee should appear on the schedule based on employee's defined schedule. In trying to create a filter for my table, I am trying to produce a 1 or a 0 based on var x and the table value.
The table is structured like the below with a date slicer linked to the table:
Region | Site | Name | EmployeeID | % of Days on Schedule |
The % of Days on Schedule uses the var x calculation, shown below.
Solved! Go to Solution.
@jjmartinso Try:
Trigger =
var x = DIVIDE(COUNTA('ScheduleData'[EmployeeID]), COUNTA('Dates'[Date]))
return
IF(x<MAX('DriverDetails'[%DaysWeek]),1,0)
Doh, I think I will commence banging my head against my desk. I can't believe I spent a while on that one.
Appreciate your help!
@jjmartinso Sometimes just takes another pair of eyes.
@jjmartinso Try:
Trigger =
var x = DIVIDE(COUNTA('ScheduleData'[EmployeeID]), COUNTA('Dates'[Date]))
return
IF(x<MAX('DriverDetails'[%DaysWeek]),1,0)
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
User | Count |
---|---|
85 | |
83 | |
66 | |
60 | |
57 |
User | Count |
---|---|
188 | |
111 | |
105 | |
78 | |
71 |