Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
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.
That way it works, because I'm selecting all the dates, but when I select 2018 only.
When I select with Kevin, the correct ranking does not appear.
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:
| Name | Value | Date |
| Roberto | 90 | 20/05/2018 |
| Maria | 30 | 05/05/2018 |
| Fatima | 25 | 05/04/2018 |
| Marcos | 70 | 05/05/2018 |
| Priscila | 120 | 05/03/2018 |
| Nicole | 10 | 06/04/2018 |
| Marcio | 70 | 07/05/2018 |
| Kevin | 20 | 08/05/2018 |
| Marta | 20 | 09/02/2018 |
| Fernando | 90 | 10/05/2018 |
| Roberto | 90 | 20/05/2017 |
| Maria | 30 | 05/05/2017 |
| Fatima | 25 | 05/04/2017 |
| Marcos | 70 | 05/05/2017 |
| Priscila | 120 | 05/03/2017 |
| Nicole | 10 | 06/04/2017 |
| Marcio | 70 | 07/05/2017 |
| Kevin | 20 | 08/05/2017 |
| Marta | 20 | 09/02/2017 |
| Fernando | 90 | 10/05/2017 |
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.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 56 | |
| 40 | |
| 35 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 70 | |
| 69 | |
| 38 | |
| 35 | |
| 23 |