The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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
User | Count |
---|---|
15 | |
13 | |
9 | |
6 | |
6 |
User | Count |
---|---|
29 | |
18 | |
13 | |
8 | |
5 |