Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
Hi everyone,
I have scoured the fourms and online articles, but nothing is working. Read: (PLEASE HELP!)
I have 2 tables that are direct queried. (The tables do not have a relationship to each other). The tables were created by summarizecolumns() in their original datasets. (I don't know if this matters - just trying to include anything that might be relevant)
There are two sets of managers. Each has their own table. One table, everything is working PERFECTLY. I made a measure:
Total = sum(Manager1(column))+sum(Manager1(column2))
TotalRank = Rankx(ALLSELECTED(Manager1[manager]), [Total])
This is working great, but for some reason, it is not working on the second table. Instead, everything on the second table is ranking 1 even with the exact same setup.
Please help!!! Any thoughts/suggestions are appreciated.
I have tried
rankx(all...
rankx(allselected...
rankx(Manager1...
rankx(allselected(Manager1(column)), calculate(Total))
rankx(allselected(Manager1(column)), calculate(sum(Manager1(column))+sum(Manager1(column2)))
Solved! Go to Solution.
Hi , @Anonymous
According to your description, you have scales that work well when you are in one table, but return 1 all at the other, and the reason for this phenomenon may be that the current filter is not fetched. You can try using the ALLEXCEPTEdD() function in your measure to recover the columns you need to filter to try to see if it solves your problem, like this:
rankx(allselected(Manager1(column)), calculate(sum(Manager1(column))+sum(Manager1(column2)),ALLEXCEPTED('Table'[the column you need to keep filter]))
If this method does not meet your needs, you can provide us with your special sample data and the desired output sample data in the form of tables, so that we can better help you solve the problem.
Thank you for your time and sharing, and thank you for your support and understanding of PowerBI!
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi , @Anonymous
According to your description, you have scales that work well when you are in one table, but return 1 all at the other, and the reason for this phenomenon may be that the current filter is not fetched. You can try using the ALLEXCEPTEdD() function in your measure to recover the columns you need to filter to try to see if it solves your problem, like this:
rankx(allselected(Manager1(column)), calculate(sum(Manager1(column))+sum(Manager1(column2)),ALLEXCEPTED('Table'[the column you need to keep filter]))
If this method does not meet your needs, you can provide us with your special sample data and the desired output sample data in the form of tables, so that we can better help you solve the problem.
Thank you for your time and sharing, and thank you for your support and understanding of PowerBI!
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Oh my gosh. Bless you. Thank you so much ❤️
| User | Count |
|---|---|
| 49 | |
| 37 | |
| 33 | |
| 22 | |
| 18 |
| User | Count |
|---|---|
| 131 | |
| 99 | |
| 56 | |
| 37 | |
| 37 |