My objective is to calculate the number of working days up until yesterday for the current month.
The below measure is working in the Desktop version. However, once it is published not calculating in the Web version.
dimCalendar is a table in PowerBI. IsCurrentMonth and IsWeekDay are columns in the dimCalendar table.
dimCalendar[Day] <= DAY ( TODAY ()-1 )
Solved! Go to Solution.
@ThusiHettigama Hmm, try placing a simple measure like Measure = TODAY() into a Card visualization and see if you get a different value based upon the Desktop or the Service. Wondering if you need to do some kind of TZ conversion.
Measure = DAY(UTCTODAY()-1) is working in the Desktop version and the Service. However when I add COUNTROWS to calculate number of working days from first day of the current month to DAY(UTCTODAY()-1) it's breaking in the Service (published version)
Learn how to create your own user groups today!
Click here to read more about the October 2021 Release!
Check out the new Power Platform Community Connections gallery!
Mark your calendars and join us for our next Power BI Dev Camp!