Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello,
Is it possible to create calculated column to rank the data based on the filter context? I have in the database column Dataset_1, Dataset_2 ... . Each Dataset_ contain 5 different quarters. I would like to add index number for each quarter from 1 to 5 (but depend of the datset selected it would be different quarters) to be able to create a relationship with another table where I have some additional info that I would like to put on matrix table.
Thank you
Max
Solved! Go to Solution.
Hi, @m4xon
You can try the following methods.
Order = RANKX(FILTER('Table 2',[Dataset]=EARLIER('Table 2'[Dataset])&&[Phase]=EARLIER('Table 2'[Phase])),[%],,ASC)
Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @m4xon
Can you provide sample data for testing? Sensitive information can be removed in advance. What kind of expected results do you expect? You can also show it with pictures or Excel. I look forward to your response.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I hope it make it more clear.
More less user select Dataset 1 or 2, based on that he see in the table appropriate Quaters.
Based on that quters he see in the table appropriate % values from the table.
Hi, @m4xon
You can try the following methods.
Order = RANKX(FILTER('Table 2',[Dataset]=EARLIER('Table 2'[Dataset])&&[Phase]=EARLIER('Table 2'[Phase])),[%],,ASC)
Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
84 | |
79 | |
69 | |
46 | |
43 |
User | Count |
---|---|
106 | |
50 | |
49 | |
40 | |
39 |