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.
Hi All,
The All function is giving me divergent results from PowerBI to Excel. I want to calculate the annual budget regardless of the month selected on the slicer. To create this I have built the measure;
Measure ignoring month =calculate([Budget],ALL(CalendarMonth[Fiscal Month Name]))
Here are the results from PowerBI;
And here are the results from Excel;
It's working as expected in Excel, but what could be going on to produce the divergent results????
@Anonymous - Really hard to troubleshoot without sample data. Are you certain that you do not have something like a page level filter in your Power BI report? Page level filters and report level filters prefilter the data before it gets to DAX so even an ALL won't bring the data back once it is filtered by page and report level filters.
Understandable - re no data.
I think my observation is a quirk. @MattAllington details what is happeing here;
https://exceleratorbi.com.au/the-all-function-in-dax/
Cheers
Mark
@Anonymous , one of the two should work as measure
Measure ignoring month =calculate([Budget],ALL(CalendarMonth))
Measure ignoring month =calculate([Budget],removefilters(CalendarMonth[Fiscal Month Name]))
https://www.linkedin.com/pulse/five-recent-power-bi-functions-you-should-use-more-often-amit-chandak
Thanks @amitchandak , I tried allexcept fiscal year - whihc seems to hahve fixed my problem I still cant explain why there were different results though.
User | Count |
---|---|
15 | |
9 | |
8 | |
6 | |
5 |
User | Count |
---|---|
31 | |
18 | |
13 | |
7 | |
5 |