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!View all the Fabric Data Days sessions on demand. View schedule
Hi everyone,
I'm struggly to fix the subject....
Scenario:
I have several measures in dax which calculates times for different tasks in minutes from several tables (3 tables). All these tables have a relations with the calendar table where I also have and End of Month column, and all these tables have data for single tasks.
In another table [HourTable] I have the total amount of hours worked in a month. One row for each month with total amount of hour worked and a date column where is shown the last day of the related month. this date column is connected to the calendar as well.
From day 1 till end_of_month I assume a daily number of worked hours and I wrote a measure to calculate the "efficency" on a daily basis - this works anytime but not on the last day of the month.
So I splitted the efficency measure in two parts:
- in a variable I calculate the efficiency declared (the one at the end of month)
- in another variable I calculate the efficiency not declared the one during the month) //this works
Below the measure:
---------------------------------------------------------------------------------------------------------------------------------------
Can anyone help me to fix the measure on the last day of each month?
HI @FP220388,
It seems like you nested multiple measures in your formula, can you please share a pbix or some dummy data that keep the raw data structure with Dax formulas and expected results? They will help us clarify your scenario and test to coding formula.
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
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!