Forum Discussion
Can't break RANK TIES (cannot use RAND())
- Anonymous6 years ago
Here's how to rank correctly on a non-time dimension. Please adjust it to your needs. No randomness necessary.
File attached.
Best
D
Hi,
I tried updating it yesterday, but it kept saying I had the latest version (from 2017), and kept giving the 'object instance error' when I tried to open your pbix file.
The funny thing is I can upload the pbix file to power Bi online (through the get data option). I can even edit the report online. But online, it won't allow me to view the DAX. And when I try opening the file on desktop, I get that error saying the file can not be opened : (
Hi
I've just downloaded the file and it opens without the slightest problem. Maybe you have to reinstall your PBI Desktop? All I can do is tell you the version of PBI Desktop I use and re-attach the file.
Release:
March 2020
Product Version:
2.79.5768.1082 (20.03) (x64)
Best
D
- sachintandon846 years agoHelper I
Thanks!
My version was 2 months old. It now works.
This is a prety neat solution!
I see that you don't even use the RANKX function, but instead a nested double FILTER function - which I've not seen before. But it works.
The Cumulative Total function is also quite different, to what I had envisioned, but it works.
Thanks again for this!
Sachin