Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hello,
I am currently trying to create a DAX formula similar to what I use in excel, unfortunately I am struggling with how to create it in PowerBI as the formulas I am using is not giving me the correct information.
I need to find the booking pace. In excel I use: = SUMIFS(Units ,Event Dates >= start of the month (January) , Event Dates <= End of the month (January) ,Bookings <= Today -1.
Any assistance would be greatly appreaciated.
Hello,
Back again with the following Syntax: It is working now that I have removed the "<=" from Endofmonth because I was getting a syntax error. However, when I do the same formula in excel. I get a different answer than what PowerBi is displaying. Below is the DAX formula.
hi @vasale
Please show your measure. 🙂
Proud to be a Super User!
hi @vasale
try like:
=sumx(FILTER(table,table[Event Dates] >= "Startofmonth" && table[Event Dates] <= "Endofmonth" && table[Bookings]<=TODAY()-1 ),table[Units])
I hope I forget nothing. For better help show us a good data example and all involved tables.
Proud to be a Super User!
I keep getting a syntax error with "<=" on the second statement where it states <= endofmonth