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
    • Data Stories Gallery
    • DAX in Power BI - Back to School

    DAX in Power BI - Back to School

    09-05-2019 15:59 PM - last edited 09-06-2019 18:24 PM

    gpoggi
    Responsive Resident
    4995 Views
    LinkedIn LinkedIn Facebook Facebook Twitter Twitter
    gpoggi
    gpoggi Responsive Resident
    Responsive Resident
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Report Inappropriate Content

    DAX in Power BI - Back to School

    ‎09-05-2019 03:59 PM

    Hi everyone!


    I was thinking about how to participate in Back to school contest last week and I said what do I like? and how it can be useful for everyone else, so first of all, I like to play with Data, any kind of data, using M Language, DAX, Azure Data Factory, etc. so I don't need to confess that I'm #DataLover #PowerBILover #AzureLover. So I just pick a topic inside Power BI and as you know one of the most important languages inside Power BI are M (Power Query) and DAX, so why don't try to provide useful public information about DAX language using M language? And here I am. After playing some hours with Power Query and Power BI, I've created this kind of guide about DAX language in Power BI so you can start playing with your data using DAX after and see the power of DAX.

     

    This report contains information about DAX which is automatically refreshed in a daily basis reading directly online information from Microsoft Docs and Pragmatic Works websites.

    Websites sources:


    https://docs.microsoft.com
    https://pragmaticworks.com/portfolio/dax-cheat-sheet/


    Now, in order to create this report I have played with Html code and using Power BI features, there are many differente ways to get the same result but these are some of the features applied to my Power BI file: 

     

    • Power Query Parameters
    • M Custom Functions
    • M Custom codes (through Advanced Editor)
    • HTML Table sources (in order to connect with public websites)
    • Power Query Transformation functions:
      • Lists
      • Split Column
      • Merge Column
      • Merge Rows (Text Combine)
      • Grouping
    • Data Model (Basic relationships in order to create herarchy for DAX Functions information)
    • HTML Code (modifying original HTML code in order to show required data in desired format)
    • Using HTMLViewer visual in order to display custom html code
    • Calculated Columns
    • Bookmarks
    • Edit Interactions
    • Selection Pane (Grouping, Hide and Unhide)

     

    I've attached the PBIX file so in case you are new Power BI user you can review some of the features you can use to play with data and try to do it by yourself. And in case you are an advanced user also you can check and send me some suggestions in order to improve my code or if something is wrong I could fix it.

     

    I hope this helps and be useful in your DAX researching. Any suggestions/corrections are very welcome.

     

    Thanks and have a good day!

     

     

    Regards,

     

    Gian Carlo Poggi

     

     

    eyJrIjoiN2NmNjI5NmEtMGUxZS00ZWRiLTlhZDgtMjU4NmFmNzkxMjI4IiwidCI6ImNhMWQwOGIwLTk1NDMtNGJkOS04NzE4LTQyYmVjZGRjNzc4NiIsImMiOjR9

    DAX_In_Power_BI.pbix
    147 KB
    Labels:
    • Labels:
    • Education
    Message 1 of 2
    4,995 Views
    12
    Reply
    • All forum topics
    • Previous Topic
    • Next Topic
    SGusau
    SGusau Advocate I
    Advocate I
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Report Inappropriate Content

    ‎05-13-2020 10:21 PM

    Thanks for this compilation, a very helpful guide and reference.

    Message 2 of 2
    2,622 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
    California Consumer Privacy Act (CCPA) Opt-Out Icon Your California Privacy Choices