Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I have a formula determining team utilization and want to use a slicer to insert a value of 0,5,4,3,2,1 into the calculation to reduce the overall work hours.
Utilization = sum of booked hours / workableHrs
workableHrs = sum of workable hours - slicer value (0,5,4,3,2,1)
Solved! Go to Solution.
Hi @cmiecz ,
You should create a slicer table and try formula like below:
workableHrs = SUM(YourTable[Workable Hours]) - SELECTEDVALUE(SlicerTable[SlicerValue])
Utilization = SUM(YourTable[Booked Hours]) / [workableHrs]
Best Regards,
Adamk Kong
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @cmiecz ,
You should create a slicer table and try formula like below:
workableHrs = SUM(YourTable[Workable Hours]) - SELECTEDVALUE(SlicerTable[SlicerValue])
Utilization = SUM(YourTable[Booked Hours]) / [workableHrs]
Best Regards,
Adamk Kong
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks for the response.
I have created a table with one column and my values as well as a slicer that I dragged the column values on it. Once I select a value form the slicer list my values are not adjusting. It is not seeing the slicer value.
under modelling tab,
create a table using the enter manually feature :
create a slicer visual and drag and drop the column to it .
no in your code.
use selectedvalue( created_table_name[col_name] , [defaultvalue])
NB : [defaultvalue] . in case you dont have w selection, the default value is used.
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! 🤠
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
60 | |
58 | |
54 | |
36 | |
31 |
User | Count |
---|---|
81 | |
67 | |
45 | |
45 | |
43 |