• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
    • Password Reset
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

Power Pivot Lookup Value Calculation - Not exact match result (Stack Chart Final Product)|Power Pivot|Excel Forum|My Online Training Hub

You are here: Home / Power Pivot Lookup Value Calculation - Not exact match result (Stack Chart Final Product)|Power Pivot|Excel Forum|My Online Training Hub
Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search|Last Search Results
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumPower PivotPower Pivot Lookup Value Calculatio…
sp_PrintTopic sp_TopicIcon
Power Pivot Lookup Value Calculation - Not exact match result (Stack Chart Final Product)
Avatar
Gli Arias
Member
Members
Level 0
Forum Posts: 7
Member Since:
May 2, 2021
sp_UserOfflineSmall Offline
1
September 23, 2021 - 9:20 am
sp_Permalink sp_Print

Hi All,

Good day! I would like to seek help in regards to my ongoing problem. I am rookie with power pivot and dax and as I am starting to understand the logic syntax, I still faces challenges. 

 

In the attached file. Basically the final product that I want to achieve is to have a chart transformation based on the calculation.

Step 1 was me doing it from scratch a simple vlookup up of Aging column to "Bases of Value Age". Column E and F in the result sheet is the final product. And I had to combine it in one column which is the G.

Step 2 until i discover on how to do IF and Vlookup function at the same time.

Step 3 is that I am trying to integrate the data by using the power pivot. I saw some helpful videos in the past with create new measure so that a new column will be added in the in the pivot table modeling.

As you can see from the snip, I have attempted to combine the step 2 syntax that I know to the pivot however it appears that I have no luck to achieve it. 

What I want is for a new column to show with the result based on the aging. I am not looking for an exact match but a closer range from the aging number bracket based on the categories listed of the clothes.

Step 4 the end result would be me being able to provide a stack chart according to name. If I can do the step 4 then I cross the step 1 - 3 as I am working on a big data. 

 

Apologies if I have to ask this in excel format as Power BI is not commonly use. 🙁

 

I hope that you can help me with my problem. 

Avatar
Catalin Bombea
Iasi, Romania
Admin
Level 10
Forum Posts: 1810
Member Since:
November 8, 2013
sp_UserOfflineSmall Offline
2
September 26, 2021 - 12:44 pm
sp_Permalink sp_Print

Hi Gli,

To create bins in DAX, you can use this formula in a new column of your Testenvironment table:

= SWITCH(

TRUE(),

Testenvironment[Aging]<=3, "1-3",

Testenvironment[Aging]<=14, "4 - 14",

Testenvironment[Aging]<=30, "15 - 30",

"Over 60"

)

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: dan conner, Emma Klonowski, Christoffer Sandberg
Guest(s) 11
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 871
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
Jessica Stewart: 204
A.Maurizio: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
Brett Dryland
Saeed Aldousari
Bhuwan Devkota
Kathryn Patton
Maria Conatser
Jefferson Granemann
Glen Coulthard
Nikki Fox
Rachele Dickie
Raj Mattoo
Forum Stats:
Groups: 3
Forums: 24
Topics: 6222
Posts: 27291

 

Member Stats:
Guest Posters: 49
Members: 31912
Moderators: 3
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Velouria, Riny van Eekelen
© Simple:Press —sp_Information

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook
 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate

Support

  • Contact
  • Forum
  • Helpdesk - For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.