Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
spadjen
Regular Visitor

RankX Help

Hi Everyone,

 

I am trying to rank my order code data by the Avg. Qty Sold using the below DAX Formula.  However when the I return the results I am seeing duplicate rank values (example below).  Any suggestion on how to eliminate this issue? 

 

Ranking = RANKX(

    ALLSELECTED(detail),

    CALCULATE(SUM(detail[avg_mth_qty_sold])),

    ,DESC,Skip

)

 

Report Example.png

0 REPLIES 0

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.