How to Group Measures in Power Pivot

How to Group Measures in Power Pivot

Setting up one or more tables to hold your measures is a very good idea and makes your model much more user friendly.

It can also save significant re-work if you have to re-develop a data table and you stored some of your measures in that table.

Ideally follow these steps BEFORE doing anything else in your Power Pivot model.

1. Copy an empty Excel cell

2. Launch Power Pivot (Manage Data Model)

3. Click in the existing table and click the Paste button. This is actually Paste to New Table so don't worry you won't paste over any existing data

No alt text provided for this image

4. Rename the Table as Values (or whatever generic label you like, it could be MyMeasures, Calculations, Finance Metrics, HR Measures, etc...).

No alt text provided for this image

Then Click OK

5. Right Click on Column1 and select Hide from Client Tools. This prevents the item Column1 appearing in your list and also magically makes your measures appear at the top of your Pivot Table field list.

No alt text provided for this image

6. Now when you go to the Power Pivot menu and create new measure, you can select your "Values" table and they will be nicely grouped together.

Also, back at the start of this article I recommend setting up these tables as your very first action. This way the measures table is always the default table when creating new measures.


No alt text provided for this image


No alt text provided for this image

7. To save having to do this every time, add a couple of Measures Tables to a template file.

The one downside of a measures table with column1 hidden is you can't right click on that Measures Table in the Pivot Table fields list and add new measure. For that reason I sometimes unhide Column 1 until the end of the process.

Also, a small note, the Right Click add new measure box that appears it subtly different (worse) to than the Power Pivot tab > New Measure box that appears. Intellisense and Tab work better in the 2nd method.


Making your model easy to use should be foremost in your thoughts. This should contribute to that result.

Wyn

My articles

Amazing Excel and Power BI Solutions
www.accessanalytic.com.au


Power BI DESKTOP

Here's he article on how to do it in Power BI Desktop, that inspired me to write this one.


Irving Gil

FP&A Capex Regions, Team Lead at The Estée Lauder Companies Inc.

3 年

Thanks for sharing this awesome technique! ??

Joe Jones-Jennings

Accounts Assistant specialising in Finance and Business Process Automation

6 年

Genius. I've just started getting into PowerPivot properly, and one of the problems I've faced is organising measures once I've created 30 or 40 of them. This tip will be a great help, many thanks.

Muhammad Wajahat Siddiqui

Senior Manager Finance (Oracle EBS)

8 年

good one

要查看或添加评论,请登录

Wyn Hopkins的更多文章

  • PowerToys

    PowerToys

    PowerToys is one of the most underrated free tools available for Windows users. Developed by Microsoft, this suite of…

    3 条评论
  • The Best Dependent Drop Down Technique

    The Best Dependent Drop Down Technique

    Driven by a gauntlet laid down by friend and fellow MVP Mark Proctor on our Unpivot podcast recently I revisited my…

    1 条评论
  • Should you use Measures for Conditional Formatting?

    Should you use Measures for Conditional Formatting?

    Streamline Your Power BI Conditional Formatting with Measures I've always found the built-in conditional formatting in…

    6 条评论
  • Consolidate and Hyperlink to Excel files on SharePoint

    Consolidate and Hyperlink to Excel files on SharePoint

    In this video, we're diving into the world of Excel and Power BI, focusing on creating hyperlinks for easy referencing…

    4 条评论
  • The greatest multi-level Excel drop-down list ever!

    The greatest multi-level Excel drop-down list ever!

    One-Off dependent drop down lists in data validation are relatively straightforward: here's a technique using XLOOKUP…

    5 条评论
  • Default Your Slicer to the Current Month in Power BI

    Default Your Slicer to the Current Month in Power BI

    First Published November 2022 on our YouTube Channel Join 65,000+ subscribers to stay up to date with new videos…

    4 条评论
  • Power BI Licensing Explained

    Power BI Licensing Explained

    What are the differences between: Power BI Free (soon to be renamed Fabric Free) Pro: $10 USD pp/pm PPU (Premium Per…

    2 条评论
  • Power BI May 2023 Release

    Power BI May 2023 Release

    The May version of Power BI desktop is out This is a very quick post highlighting my 2 favourite picks: 1. Azure Maps…

    5 条评论
  • Simpler DAX ? = Power Query

    Simpler DAX ? = Power Query

    If you are struggling to write a complicated DAX formula then the answer may be to step back and do a little Power…

    2 条评论
  • Power BI Explained

    Power BI Explained

    A simple explanation of Power BI I hope you find this useful. Power BI continues to go from strength to strength and…

社区洞察

其他会员也浏览了