Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi
Is there any dynamic measure that can divide values depending on which date hierachy is selected?
I have workinghours in one column and instead of workinghours i want to show this value in Full-time equivalent (FTE). So for instance if I have 500 hours on daily basis. I divide this number with 7,6 which gives mee the FTE for our business per day. 500/7,6 = 65,7
But if I change the date hierachy to weeks instead of days I want this measure to be dynamic. So for a normal workweek this should be 500*5 (workdays) /(7,6*5) which should give me the same value.
Is there any way to make this "divide" value (7,6) dynamic depending on what is filtered (day, week, mont, year)?
(I have a seperat date calender which has a column for if the date is a workingday or not)
Thanks 🙂
@d_gullik , you can use isinscope to switch measure and networkdays two get working days
IsInScope - Switch Measure at different levels: https://youtu.be/kh0gezKICEM
https://www.kasperonbi.com/use-isinscope-to-get-the-right-hierarchy-level-in-dax/
Power BI - Business day with and without using DAX Function NETWORKDAYS: https://www.youtube.com/watch?v=Qs03ZZXXE_c
User | Count |
---|---|
76 | |
75 | |
46 | |
31 | |
27 |
User | Count |
---|---|
99 | |
91 | |
51 | |
48 | |
47 |