+ Reply to Thread
Results 1 to 4 of 4

Oops I formatted my data in a really unhelpful way - can you help me compensate?

  1. #1
    Forum Contributor
    Join Date
    03-19-2010
    Location
    Calgary, Canada
    MS-Off Ver
    Office 2013, Office 365 Pro Plus
    Posts
    182

    Oops I formatted my data in a really unhelpful way - can you help me compensate?

    I have a really wide table (~90 columns). I've just realised that I've formed the table in a way that doesn't best aid in developing pivot tables and pivot charts (I have power pivot). Here is a simplified version of my table

    Capture.JPG

    but I can't find out how to get 'level' into a slicer (or similar). With hindsight, what I should have done is construct my table in this form:

    Capture2.JPG

    Is there a way I can use 'level' as a slicer in my existing table form? I've found sets and they seem useful (for example I can make a set called 70000 that contains r70000 and a70000), but I can't figure out how to use this new found knowledge in a dashboard where I can push a button to switch between different levels. Is anyone able to help me with this please?

    Many thanks
    Last edited by jlt199; 01-05-2018 at 12:00 PM.

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Oops I formatted my data in a really unhelpful way - can you help me compensate?

    Hello,

    I'd go one step further and normalise into type (r or a) . You can easily do that with Power Query. If you have Power Pivot, you also have Power Query.

    Load the data into Power Query, select the first three columns (width, length, depth), on the Transform ribbon select "Unpivot other columns". Split the column with the text "r70000" etc into two, after the first character. Then rename the columns.

    Here is the M code that was recorded when I performed these steps.

    Please Login or Register  to view this content.
    2018-01-04_UnpivotResult.png

  3. #3
    Forum Contributor
    Join Date
    03-19-2010
    Location
    Calgary, Canada
    MS-Off Ver
    Office 2013, Office 365 Pro Plus
    Posts
    182

    Re: Oops I formatted my data in a really unhelpful way - can you help me compensate?

    Thank you, this was really helpful

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,657

    Re: Oops I formatted my data in a really unhelpful way - can you help me compensate?

    For future reference, please take a moment to re-read forum rule #1 and apply the rules below when next opening a thread here. Thanks!

    • Use concise, accurate thread titles.
    • Your post title should describe your problem, not your anticipated solution.
    • Use terms appropriate to a Google search - poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice tell us nothing.
    • Responding to a request to change your thread title by doing so is mandatory.

    Please mark this thread as solved using the thread tools option at the top.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Excel Formula to Compensate Negative & State Variance
    By Excel-Access in forum Excel General
    Replies: 4
    Last Post: 10-12-2015, 08:46 AM
  2. [SOLVED] How to compensate for a second shift spread of data across two dates
    By Jay S. in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-04-2015, 08:51 PM
  3. oops! new look?!
    By john55 in forum The Water Cooler
    Replies: 5
    Last Post: 09-30-2013, 07:29 AM
  4. Replies: 1
    Last Post: 05-25-2006, 09:45 AM
  5. Unhelpful error message!
    By SueJB in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-20-2005, 12:05 PM
  6. OOPS More help with formula
    By yourproblemslvr in forum Excel General
    Replies: 1
    Last Post: 08-13-2005, 05:05 PM
  7. VBA Oops
    By Ripper in forum Excel General
    Replies: 9
    Last Post: 03-01-2005, 05:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1