Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
I have a table which contains details related to meetings including start, end times etc. From that table I use calculate columns to determine meeting length. I am now trying to determine utilization % based on the number of days selected in a time slicer.
For example, I have a meeting on 11th Dec that lasts 8 hours. The utilization (calculated as % of an 8 hour working day) is calculated as such:
The value for the above example is therefore 100% (which is CORRECT).
And the DAX for the calculation is:
Possible to post some data? Usually get a much better response if people have something to work with!
Also, probably want to be using the DIVIDE function in case of errors.
Is there a way to send an example pbix file?
If not, just use this and the DAX in the post above:
meetingID | startDate | endDate
======================================
123456 | 10/11/2018 09:00:00 | 10/11/2018 17:00:00
654321 | 13/11/2018 14:00:00 | 13/11/2018 16:00:00
OK - so have been doing some more digging and think I know where the problem lies, but just cannot resolve it. As you can see from the attached image, I have created a date lookup table (DateTable) and my sample data is in Table1.
SelectedDays is the result of the DAX expression, the range of which is controlled by the displayed slicer:
For the first row in the table, Column1 should return a value of 25 (i.e. 100.00 / 4) but instead returns 0.03.
If you look at the value of Column2 (which is a new column set to the value of the Measure of days selected), this shows a value of 2922 instead of 4. In fact, 2922 is the total number of days in the DateTable. This is why the division is failing.
But why does it return the unfiltered value of 2922 instead of 4 when used in the calculation or displayed as a separate column - why is this negating the time slicer filter?
Thanks,
Dave
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!