Open Side Menu
Skip to contentBrand Logo
Forums
Inspiration
Ideas
Communities
Blogs
Learning
Support
RegisterSign In
  1. Microsoft Fabric Community
  2. Power BI forums
  3. Desktop

Forum Discussion

rohanjha1988's avatar
rohanjha1988
Icon for Helper II rankHelper II
6 years ago
Solved

Assigning sequence to orders based on customer Id

Hi All, 

 

I have a SalesMaster table in which customer ID and date wise sales details are given. I need to assign the sequence of orders based on sales date and customer id. I have attached the table. 

Need Help
Tips and Tricks
  • amitchandak's avatar
    amitchandak
    6 years ago

    rohanjha1988 , See if Rank can help

    For Rank Refer these links
    https://radacad.com/how-to-use-rankx-in-dax-part-2-of-3-calculated-measures
    https://radacad.com/how-to-use-rankx-in-dax-part-1-of-3-calculated-columns
    https://radacad.com/how-to-use-rankx-in-dax-part-3-of-3-the-finale
    https://community.powerbi.com/t5/Community-Blog/Dynamic-TopN-made-easy-with-What-If-Parameter/ba-p/367415

1 Reply

  • amitchandak's avatar
    amitchandak
    Icon for Super User rankSuper User
    6 years ago

    rohanjha1988 , See if Rank can help

    For Rank Refer these links
    https://radacad.com/how-to-use-rankx-in-dax-part-2-of-3-calculated-measures
    https://radacad.com/how-to-use-rankx-in-dax-part-1-of-3-calculated-columns
    https://radacad.com/how-to-use-rankx-in-dax-part-3-of-3-the-finale
    https://community.powerbi.com/t5/Community-Blog/Dynamic-TopN-made-easy-with-What-If-Parameter/ba-p/367415

Related content
  • Customized table refresh sequence

    6 years ago
    kabra_ashish
  • Priority Based Sales Rep Assignment

    5 months ago
    DataForge_88
  • Assign (Transfer) Ownership

    4 years ago
    Anonymous
  • Customer Scorecard

    6 months ago
    DanielASouza
  • Sequence Calculations

    3 years ago
    sanc_152
  • © 2026 Microsoft
  • Manage cookies
  • Privacy & cookies
  • Terms of use
  • Trademarks
Your Privacy Choices Consumer Health Privacy