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
    • Getting started
      • Overview
      • 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
    • Microsoft Power BI Community
    • Welcome to the Community!
    • News & Announcements
    • Get Help with Power BI
    • Desktop
    • Service
    • Report Server
    • Power Query
    • Mobile Apps
    • Developer
    • DAX Commands and Tips
    • Custom Visuals Development Discussion
    • Health and Life Sciences
    • Power BI Spanish Community
    • Translated Spanish Desktop
    • Power Platform Integration - Better Together!
    • Power Platform Integrations
    • Power Platform and Dynamics 365 Integrations
    • Training and Consulting
    • Instructor Led Training
    • 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
    • Ideas
    • Custom Visuals Ideas
    • Issues
    • Issues
    • Events
    • Upcoming Events
    • Community Engagement
    • T-Shirt Design Challenge 2023
    • Community Blog
    • Power BI Community Blog
    • Custom Visuals Community Blog
    • Community Support
    • Community Accounts & Registration
    • Using the Community
    • Community Feedback
    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
    • Data Stories Gallery
    • Re: Sales Figures Comparison

    Re: Sales Figures Comparison

    04-17-2021 01:54 AM

    Andy100Rob
    Advocate II
    1898 Views
    LinkedIn LinkedIn Facebook Facebook Twitter Twitter
    Andy100Rob
    Andy100Rob Advocate II
    Advocate II
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Report Inappropriate Content

    Sales Figures Comparison

    ‎04-16-2021 07:40 AM

    This report is designed to show the key information within one screen. The DAX is explain in the messages below.

     

    It is designed to give a Manager or a Board Level user the information they need to monitor their areas.

    The intended audience would not be drilling through the report and would not want the granularity of data needed for further insight, but instead they need headline numbers to be able to make decisions from.

     

    The six key performance indicators are presented at the top of the report: Sales, GP, GP%, Quantity Sold, Number of Orders and Number of Inspections.

     

    The report is then split below these KPIs, with Sales on the left and Shipments on the right.

     

    Sales shows the areas performing well, with details on the Countries, Salespersons and Departments.

    Then allows for yearly comparison showing 2018 against 2019 and 2020 sales and GP on the chart.

    The bottom table shows the information in hard numbers. The columns in the table show different tooltips to maximise the information flow.

     

     

    Shipments highlights On Time In Full reporting and allows for the user to decide if they will allow shipments to be up to 20 days early or late and then update the data.

    The graph shows the volume of lines shipped each month, with a Year on Year analysis of growth.

     

     

     

     

     

     

    eyJrIjoiOTAxYjAzYTUtZGI2NS00ODFmLWE5NjQtOThlNGQ1MTBkMmNhIiwidCI6ImM3ZWE5NDI0LWNkZWMtNGE5Zi1iYzljLWE3MDkwOTMwNjk0NCJ9

    Labels:
    • Labels:
    • Business
    Message 1 of 3
    2,060 Views
    0
    Reply
    • All forum topics
    • Previous Topic
    • Next Topic
    Andy100Rob
    Andy100Rob Advocate II
    Advocate II
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Report Inappropriate Content

    ‎04-17-2021 01:54 AM

    The OTIF chart and data uses a variety of Dax and two parameters to update based on user input.
    For a full explaination of this please visit my OTIF example report:
    https://community.powerbi.com/t5/Data-Stories-Gallery/OTIF-Report/m-p/885761

    Message 3 of 3
    1,898 Views
    0
    Reply
    Andy100Rob
    Andy100Rob Advocate II
    Advocate II
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Report Inappropriate Content

    ‎04-17-2021 01:50 AM

    I've used a variety of Dax within this report.
    To start with, I have a Date table, labelled as Date which allows for both time intelligence and removes the need for the Auto Date/Time option to be on.

    YTD Sales - This adds up the previous months within the year and provides a running cumulative total:

    YTD Sales = TOTALYTD
    (
    SUM('Sales'[Sell Value])
    , Date[Date]
    )
     
    GP Year On Year Growth - This shows the percentage difference between two consecutive years. Using a variable to calculate the GP of the previous year, then using this variable to calculate the percentage difference. 
    GP YoY Growth =
     
    VAR GPPriorYear =
    CALCULATE ( SUM(Sales[GP]), PARALLELPERIOD ( 'Date'[Date], -12, MONTH ) )

    VAR GPVariance =
    DIVIDE ( (SUM(Sales[GP]) - GPPriorYear ), GPPriorYear )

    RETURN
    GPVariance
     
    Message 2 of 3
    1,900 Views
    0
    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
    Consumer Privacy Act (CCPA) Opt-Out Icon Your Privacy Choices