Forum Discussion
-VIP-
4 years agoNew Member
Bar Chart With Filter To Calculation Values Differently
Hi, I have machine utilization data with follwoing columns: ID, Date, Category, Idle Hrs, Work Hrs, Total Hrs, Expected Hrs, Productive Hrs, Non Productive Hrs, Hrly Rate, Total Cost I want to ...
amitchandak
4 years agoSuper User
-VIP- Create a table with those two values Work Hrs and Total Hrs and use as slicer
then create a measure
Switch(selectedvalue(Slicer[Value]) ,
"Work Hours" , Sum([Expected Hrs]) - Sum([Work Hrs]) ,
"TotalHours" , Sum([Expected Hrs]) - Sum([Total Hrs])
)
Like an old measure slicer technique
How to create a Measure Slicer: https://youtu.be/b9352Vxuj-M