rank
36 TopicsRank/RankX of Measure in a Matrix
I am trying to use a scatter plot to draw a "periodic table" of asset class return by calendar year (similar to the target output picture). In order to do so, I need to first rank the returns in each calendar year. I tried using RANKX but I could not get the expected results (in green letter). Can you shed me some light how can I fix my DAX code please? I have attached my Power BI file in the link below. Thanks in advance. My Pbix file: https://limewire.com/d/BpJDt#VVxFzw3wCRSolved560Views0likes1CommentRank basing on measure with parameter & Rank percentile
Hi Everyone, 1) I have created following measure in DAX: Model score weighted FA Table = [Productivity FA table Value] / 100 * AVERAGE(act_source[team_prod_model_score]) + (100 - [Productivity FA table Value])/100 * AVERAGE(act_source[fa_prod_model_score]) Where [Productivity FA table Value] is defined by What-If parameter as following: Productivity FA table = GENERATESERIES(0, 100, 50) Now I am strugling to prepare rank field using above measure. Basically I am trying to find equivalent of Rank_Unique() function in Tableau, which look like as follows: 2) Similar question related to ranking. I have field in my data called [surv_model_score]. I want to apply almost exactly same formula of Rank_Unique as above. Additionaly, on the output, I want to apply equivalent of Rank_Percentile() function as follows: Is there any way to get equivalent of rank_percentile in my case? Thanks and Merry Christmas !527Views0likes1CommentStacked Bar chart: Group legend values
Hi folks, I have a stacked bar chart with products as a legend. There are a lot of products in my data. Therefore does not show all and gives this hint Personally i think this is crazy because the user will not even read this and see a wrong revenue: But ok, it is what it is. I tried to create a RANKX measure an show only the biggest legend values and group everything else as "Other" But Power BI will not let me put a measure in the legend... Any ideas?Solved1.6KViews0likes3CommentsRANK Dax issues!
Hi all, I have the following dataset at my disposal and I'm looking at ranking the SumColumns shown in the dataset after a specific date of 2024, 9, 8 but as you can see there are duplicate values in the sum columns created (dax shown underneath) - and creating this rank measure would also mean dates before 2024, 8, 9 would need to be excluded. I included my current solution underneath these photos that duplicates the table, however I would want to avoid this and just write a new Dax with a new date in when the time comes to change ranges. Duplication solution: Thanks for your help in advance! JordanSolved816Views0likes3CommentsMeasure to rank city based on % Increase from previous year for each product category and type
I would be greatful if some one can help me create a Measure that will rank each 'City' for each 'Product' and Type, based on % increase achieved in 'Current Year' vs 'Previous Year'. So based on the data in the table below, the Measure will allow me to rank Cities as: Digital, Computers, 1 New York (300%) 2 London (0 %) 3 Paris (-33%) Digital, Laptops, 1 London (33 %) 2 New York (-44%) 3 Paris (-83%) Appliance Cooker, 1 Paris (-14%) 2 London (-100%) I have added the a '% increase Previous Year' column to the table below to show what the increase is, this column is not in my data, I only put it in for reference, should I create this column in the data sheet? City Type Product Previous Year Current Year %Increase Previous Year London Digital Computers 1 2 0% London Digital Computers 4 3 0% London Digital Laptops 3 4 33% London Appliance Fridge 2 6 200% London Appliance Cooker 1 0 -100% Paris Digital Computers 3 2 -33% Paris Digital Laptops 6 1 -83% Paris Appliance Cooker 4 2 -14% Paris Appliance Cooker 3 4 -14% Paris Appliance Hob 5 2 -60% New York Digital Laptops 6 4 -44% New York Digital Laptops 3 1 -44% New York Digital Computers 1 4 300% New York Appliance Hob 0 5 50% New York Appliance Hob 4 1 50% New York Appliance Cooker 0 1 #DIV/0!Solved1.2KViews0likes4CommentsHow to tak 3 recent row from table in DAX
Hello , I'm looking solve my problem . I have a table with column A with datetime Column A 2024-01-11 10:54:55 2024-01-11 10:54:33 2024-01-11 10:51:00 2024-01-11 10:51:00 2024-01-11 10:50:23 Column B 123 175 155 122 125 i would like recive table ( Column A and B) with first 4 row based on Datetime (Ascending) which function I should use ? I thought about RANKX , but that function rankx needs measure thanksSolved1.4KViews0likes8CommentsRank DAX problem in Power BI
This problem has been sending me potty. I know it should be relatively be simple but I can't crack it, originally I tried to solve it using RANKX but I couldn't get it to work so I tried RANK and still no joy, could someone help? The semantic model I'm using is for the Times University Rankings, all years I have a ranking value for each university and in it's simplest form I just want to rank a university's position within it's country. A really simple example is in 2011, there were two universities in Austria in the Times university Top 200: University of Vienna - ranked 195 overall & University of Innsbruck - ranked 187 overall All I want to do is to introduce a DAX measure that ranks the order at Year, Country, University level: so Innsburck would be 1 and Vienna 2 Please could someone help and save me from insanity? I thought it might look something like this but with extra fields, no matter what I try I just can't get it to work, thanks Mark: Rank University by Country = RANK ( DENSE, ALLSELECTED ( 'fact' [university]), ORDERBY ( [ times ranking], DESC) )Solved1KViews0likes4CommentsRank SKIP paramter will not skip after ties
I am trying to use the rank function to rank weekly points. I want the ranking to skip a value after ties. I entered the SKIP parameter but it is not skipping after ties. See screenshot below. What am I doing wrong? If i put the 'All Scores' table as the second parameter I get a circular reference error.Solved982Views0likes2CommentsHow to show top 5 providers and top 5 services for each of these providers
Hi, I have this long list of provider names and services they provide. It's over 4k rows. Something similar to this: This is what I'm trying to achive: I have tried creating a new table using summarize and topN. I have also tried Rank and Ranxk. When it ocmes to ranking I got worng reuslts or all of the rows were showing value of 1. Please help.376Views0likes1Comment