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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
rmolinajr
Frequent Visitor

Problem Rank Filter

Hi,

 

I have a date field that I use to filter, when I use a date filter along with the name field it gives problem.

010.PNG

 

 

That way it works, because I'm selecting all the dates, but when I select 2018 only.

020.PNG

 

 

 

When I select with Kevin, the correct ranking does not appear.

030.PNG

 

 

I tried putting a filtering on calculate with the dates, it still did not work, would you have any tips?

 

 

I am using this data:

 

NameValueDate
Roberto9020/05/2018
Maria3005/05/2018
Fatima2505/04/2018
Marcos7005/05/2018
Priscila12005/03/2018
Nicole1006/04/2018
Marcio7007/05/2018
Kevin2008/05/2018
Marta2009/02/2018
Fernando9010/05/2018
Roberto9020/05/2017
Maria3005/05/2017
Fatima2505/04/2017
Marcos7005/05/2017
Priscila12005/03/2017
Nicole1006/04/2017
Marcio7007/05/2017
Kevin2008/05/2017
Marta2009/02/2017
Fernando9010/05/2017

 

3 REPLIES 3
ChandeepChhabra
Impactful Individual
Impactful Individual

@rmolinajr Can you share how the expected output should look like ?

anandav
Skilled Sharer
Skilled Sharer

Hi @rmolinajr,

 

Try the measure:

 

Measure Rank By =
    RANKX(
        ALL(Example),
        CALCULATE(
            SUM(Example[Value])
        ),,DESC,Dense
     )

 

If it solves your problem please mark as solution.

Hi @anandav,

 

I did the tests, but gave this problem!

Capturar.PNG

 

 

Could you tell me what the problem is?

 

 

 

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.