Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hello,
I would like to ask your help to figure out the measure formula i can use to obtain the results highlighted in Yellow. The YTDnoWeekends shows the count of weekdays each month however for the current month it only counts the days till yesterday (12/6). The YEAR woWeekends is the count of days per month for the whole year without the weekends.
I appreciate your help.
Solved! Go to Solution.
Here are two measure expressions that should work. Replace 'Date'[Date] with your actual date column.
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Hi,
Here's another approach. Write this calculated column formula in the Calendar Table
Weekday number = weekday(Calendar[Date],2)
Write this measure
Measure1 = calculate(countrows(Calendar),Calendar[Weekday number]<=5)
Ensure that the month name field in your visual has been dragged from the Calendar Table. Please also ensure that one year has been selected in the Year slicer (which in turn should be from the Calendar Table).
Hope this helps.
Here are two measure expressions that should work. Replace 'Date'[Date] with your actual date column.
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.