skip to main content
Power BI
    • What is Power BI
    • Why Power BI
    • Customer stories
    • Data visuals
    • Security
    • Power BI Desktop
    • Power BI Pro
    • Power BI Premium
    • Power BI Mobile
    • Power BI Embedded
    • Power BI Report Server
  • Pricing
    • Azure + Power BI
    • Microsoft 365 + Power BI
    • Dynamics 365 + Power BI
      • Energy
      • Healthcare
      • Manufacturing
      • Media
      • Retail
    • For analysts
    • For IT
      • Overview
      • Embedded analytics
      • Power BI visuals
      • Automation
      • Documentation
      • Community
    • Overview
    • Find consulting services
    • Partner showcase
    • Find a partner
    • Become a partner
    • Instructor-led training
    • Getting started
      • Overview
      • Online workshops
      • Self-guided learning
      • Webinars
      • Documentation
      • Roadmap
      • Overview
      • Issues
      • Give feedback
    • Blog
    • Business intelligence topics
    • Overview
    • Forums
    • Galleries
    • Submit ideas
    • Events
    • User groups
    • Community blog
    • Register
    • ·
    • Sign in
    • ·
    • Help
    Go To
    • Galleries
    • Community Connections & How-To Videos
    • COVID-19 Data Stories Gallery
    • Themes Gallery
    • Data Stories Gallery
    • R Script Showcase
    • Webinars and Video Gallery
    • Quick Measures Gallery
    • 2021 MSBizAppsSummit Gallery
    • 2020 MSBizAppsSummit Gallery
    • 2019 MSBizAppsSummit Gallery
    • Events
    cancel
    Turn on suggestions
    Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
    Showing results for 
    Search instead for 
    Did you mean: 
    • Microsoft Power BI Community
    • Galleries
    • Quick Measures Gallery
    • Re: Normalize Numeric Data

    Re: Normalize Numeric Data

    11-13-2018 11:59 AM

    kkrol93
    New Member
    21533 Views
    LinkedIn LinkedIn Facebook Facebook Twitter Twitter
    deldersveld
    deldersveld
    MVP
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Report Inappropriate Content

    Normalize Numeric Data

    ‎07-30-2017 11:26 AM

    Normalize numeric data from several independent ranges to a uniform scale ranging from 0 to 1. This can be used as a precursor for clustering, creating parallel coordinates plots, and more.

     

    Follows formula:

    (x-min(x))/(max(x)-min(x))

    Using the DAX measure:

     

    Normalized Value = 
    VAR MinOfGroup = CALCULATE(MIN('Table'[Value]),ALLEXCEPT('Table','Table'[GroupAttribute]))
    VAR MaxOfGroup = CALCULATE(MAX('Table'[Value]),ALLEXCEPT('Table','Table'[GroupAttribute]))
    VAR DetailValue = MAX('Table'[Value])
    RETURN DIVIDE(DetailValue - MinOfGroup,MaxOfGroup - MinOfGroup,0)

     

    eyJrIjoiNGM5NTJjMmQtZjZlOS00YjZjLWIwOGItZTlkNTJiMDM2YzNlIiwidCI6ImFjYzhhYWE1LWYxOTEtNDgyZi05MjFiLWNmNmMzM2E1ODgzMiIsImMiOjF9

    Preview file
    153 KB
    Power BI Normalize Numeric Data.pbix
    Labels:
    • Labels:
    • Mathematical
    Message 1 of 4
    25,341 Views
    9
    Reply
    • All forum topics
    • Previous Topic
    • Next Topic
    kkrol93
    kkrol93
    New Member
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Report Inappropriate Content

    ‎11-13-2018 11:59 AM

    How did you create the image of all the lines for the cars that were not selected in the background?

    Message 2 of 4
    21,533 Views
    0
    Reply
    sweetstar
    sweetstar
    Frequent Visitor
    In response to kkrol93
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Report Inappropriate Content

    ‎04-20-2021 04:03 PM

    check this for excluding a filter:

     

    https://docs.microsoft.com/en-us/power-bi/visuals/power-bi-visualization-slicers#control-which-page-...

    Message 4 of 4
    7,189 Views
    0
    Reply
    deldersveld
    deldersveld
    MVP
    In response to kkrol93
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Report Inappropriate Content

    ‎11-13-2018 12:12 PM

    There are two line charts overlaid one on the other. The background one has consistent color for all lines, and the visual interactions are set so that car slicer will only filter the top line chart and not the background one.

     

    I wrote a bit about the technique deep into this blog post: https://dataveld.com/2017/05/06/throwing-a-curve-at-the-power-bi-line-chart/

    "If you would like to add other visuals to the report, crossfiltering will be an issue since the line chart does not allow highlighting. In this case, an overlay can be beneficial. This technique works for any line chart by the way, not just this curved one. By disabling the visual interaction for the “underlay” and setting a static Y Axis range for the overlay but keeping the default interaction set to filter, you can get a highlighting effect."

    Message 3 of 4
    21,531 Views
    2
    Reply

    Power Platform

    • Overview
    • Power BI
    • Power Apps
    • Power Pages
    • Power Automate
    • Power Virtual Agents

    • Sign in
    • Sign up

    Browse

    • Solutions
    • Partners
    • Consulting Services

    Downloads

    • Power BI Desktop
    • Power BI Mobile
    • Power BI Report Server
    • See all downloads

    Learn

    • Guided learning
    • Documentation
    • Support
    • Community
    • Give feedback
    • Webinars
    • Developers
    • Blog
    • Newsletter

    © 2023 Microsoft

    Follow Power BI

    • Privacy & cookies
    • Manage cookies
    • Terms of use
    • Trademarks
    California Consumer Privacy Act (CCPA) Opt-Out Icon Your California Privacy Choices