Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Data Modeling with Microsoft Excel

You're reading from   Data Modeling with Microsoft Excel Model and analyze data using Power Pivot, DAX, and Cube functions

Arrow left icon
Product type Paperback
Published in Nov 2023
Publisher Packt
ISBN-13 9781803240282
Length 316 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Bernard Obeng Boateng Bernard Obeng Boateng
Author Profile Icon Bernard Obeng Boateng
Bernard Obeng Boateng
Arrow right icon
View More author details
Toc

Table of Contents (16) Chapters Close

Preface 1. Part 1: Overview and Introduction to Data Modeling in Microsoft Excel
2. Chapter 1: Getting Started with Data Modeling – Overview and Importance FREE CHAPTER 3. Chapter 2: Data Structuring for Data Models – What’s the best way to layout your data? 4. Chapter 3: Preparing Your Data for the Data Model – Cleaning and Transforming Your Data Using Power Query 5. Chapter 4: Data Modeling with Power Pivot – Understanding How to Combine and Analyze Multiple Tables Using the Data Model 6. Part 2: Creating Insightful Calculations from your Data Model using DAX and Cube Functions
7. Chapter 5: Creating DAX Calculations from Your Data Model – Introduction to Measures and Calculated Columns 8. Chapter 6: Creating Cube Functions from Your Data Model – a Flexible Alternative to Calculations in Your Data Model 9. Part 3: Putting it all together with a Dashboard
10. Chapter 7: Communicating Insights from Your Data Model Using Dashboards – Overview and Uses 11. Chapter 8: Visualization Elements for Your Dashboard – Slicers, PivotCharts, Conditional Formatting, and Shapes 12. Chapter 9: Choosing the Right Design Themes – Less Is More with Colors 13. Chapter 10: Publication and Deployment – Sharing with Report Users 14. Index 15. Other Books You May Enjoy

Exploring cube functions in Microsoft Excel

There are currently seven cube functions in Excel. We will take a quick look at five of these functions and then proceed to create examples with each function. We will use the data model we created in our earlier chapter.

Of the seven cube functions, three of them are used often and serve as building blocks for the rest. These are CUBEVALUE, CUBESET, and CUBEMEMBER:

Figure 6.7 – List of cube functions in Microsoft Excel

Figure 6.7 – List of cube functions in Microsoft Excel

The remaining are CUBERANKEDMEMBER, CUBESETCOUNT, CUBEMEMBERPROPERTY, and CUBEKPIMEMBER.

To help you understand how these cube functions work, it is important to know that all the functions work in a similar way by retrieving aggregated values or attributes from the data model, which we will refer to here as a cube.

Because of this, all the functions start with the same argument, "ThisWorkbookDataModel":

Figure 6.8 – Exploring the syntax...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image