Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
DAX behavior for each formula is different.
I want to calculate Last Year MTD , By default without any slicer selection the function should take Today's date(Last Year) as end of date and calculate sum. If users choose any selection it should take that date as End of date(Last Year)
Fourth Screen shot with 3rd Date selection – LYMTD and Previous Year MTD Total are showing up correct with calculation from Oct 1st to Oct 3rd 2015 and PY MTDSALES is totally wrong/incorrect
I have 3 columns "Month" & "Achievement" & "Location" that I need to create 1 calculated column to get "Average Number" from "Achievement" column using all location but in every month separated
The average should be like the table below but I can't get the number with DAX.
Kindly any advice
Month | Achievement | Location | Average |
1/1/2017 | 80 | 101 | 85 |
1/1/2017 | 90 | 102 | 85 |
2/1/2017 | 20 | 103 | 40 |
2/1/2017 | 60 | 105 | 40 |