Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
37 | |
25 | |
19 | |
14 | |
8 |
User | Count |
---|---|
69 | |
48 | |
44 | |
18 | |
15 |