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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

Reply
saud968
Super User
Super User

Ranking for multiple entries

Hi, 

I have multiple entries as you can see below screenshot the number should have MonthUnique Count as 1, 2 but it is showing up as 1

 

saud968_1-1701407501304.png

 

https://drive.google.com/file/d/1Y_qQCdj5pxf2Pvn8zMIzJxeMw4lMYGGk/view?usp=drivesdk


@lbendlin @Ahmedx 

 @Ritaf1983 

1 ACCEPTED SOLUTION

@Ahmedx I was able to get the work done by 

MonthUniqueCount =

RANKX(
    FILTER(
        WeekUniqueTicketTable,
          WeekUniqueTicketTable[Month Unique Ticket] = EARLIER(WeekUniqueTicketTable[Month Unique Ticket])
       
    ),
    WeekUniqueTicketTable[EDITED_DATE],
    ,
    ASC

View solution in original post

4 REPLIES 4
Ahmedx
Super User
Super User

can you explain the logic - why 1,2,3 on the basis of what it should be like one example

Just wanted to add this as a screenshot because for some weird reason, the reply is not saving. 

saud968_0-1701422586636.png

 

@Ahmedx I was able to get the work done by 

MonthUniqueCount =

RANKX(
    FILTER(
        WeekUniqueTicketTable,
          WeekUniqueTicketTable[Month Unique Ticket] = EARLIER(WeekUniqueTicketTable[Month Unique Ticket])
       
    ),
    WeekUniqueTicketTable[EDITED_DATE],
    ,
    ASC

@Ahmedx can I accept my own solution as a solution? Is it possible and not violate any rules. If not could you please accept it as solution for me. 

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

Check out the April 2025 Power BI update to learn about new features.

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

Find out what's new and trending in the Fabric community.