Home › Forums › Power Pivot › Multiple ALLEXCEPT in same CALC?
This topic contains 6 replies, has 2 voices, and was last updated by Mark Walter 8 years, 8 months ago.
-
AuthorPosts
-
August 21, 2015 at 8:18 pm #1519
I have a financial statement file where I show sales and all expense by period and by branch location. I also calculate a % of revenue percentage column where I show x expense is 10% of total Sales.
I have all sorts of detail (vendor, doc#, etc…) collapsed so I can drill in and see detail as needed.
In order to get the % revenue calc to work, I currently use CALC ALL(vendor), ALL(doc) etc..
What I would like to do is just use ALLEXCEPT(Location) && ALLEXCEPT(Period).
Is this possible? To give it two filters to respect in the filter rather than everything (all the other details) it should ignore in the filter?
Many thanks!
Attachments:
You must be logged in to view attached files.August 22, 2015 at 12:36 am #1521Hey Mark,
The syntax for ALLEXCEPT is
ALLEXCEPT(<table>,<column>[,<column>[,…]])
The workbook example has only one table in Power Pivot, so given the syntax and only one table, two uses of ALLEXCEPT is one too many. Why not try ALLEXCEPT ( Stmt, [Location], [Period] )?
Let me know if you have a multi-table model instead of a single table model.
August 22, 2015 at 12:12 pm #1524I simply didn’t know the correct syntax. Thanks again!
August 25, 2015 at 8:16 pm #1562Mark,
Wanted to congratulate you on making the Leaderboard for recent replies in the Power Pivot Pro forums. If you get a minute, take a look on the middle-right-side when you return to the site.
Attachments:
You must be logged in to view attached files.August 26, 2015 at 9:12 pm #1575That’s awesome! Thanks for letting me know. I really do enjoy the site, and the teaching approach works well for me.
I am an evangelist for sure 🙂
Tom, can you tell me if there is a outline for the online $349 course the site offers?
Keep up the great work!
August 26, 2015 at 11:34 pm #1576Hi Mark,
Following is an un-official outline about the course created from my notes (you probably can get an official outline by calling 440.719.9000 or emailing [email protected]).
A copy of the ebook, DAX Formulas for Power Pivot
About 40 – 45 workbooks (some teach technique; others contain practical business applications; some are just jaw-dropping examples of what Rob has learned)
About 90 course modules, all taught by Rob Collie (20+ hours of video), with topics such as:
Warmup & Fundamentals
Measures & Calculated Columns
Thinking like the Power Pivot Formula Engine
Deep Dives into Functions
Working with Multiple Tables
Disconnected Slicers and Parameter Tables
Time Intelligence (Out-of-the-box and Custom)
Aggregate Functions
Advanced Calculated Columns
Cube Formula Reporting
Many-to-Many
X Functions
Conditional Formatting
Getting past roadblocks and avoiding pitfalls
Performance and Optimization
Using Macros and VBA to Streamline Presentation and Maintenance Tasks
Course fees include year’s access to course and materials, as well as email access to instructors.
—
I thoroughly enjoyed the course–not only for the skill sets developed, but the course also builds an I-can-do-that-because-I-have-watched-and-followed-Rob-do-that confidence regarding Power Pivot specifically and about learning generally.
August 27, 2015 at 2:04 am #1579Thanks for sharing that outline Tom. I hope to take this course before year end.
-
AuthorPosts
The forum ‘Power Pivot’ is closed to new topics and replies.