Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
There are many questions around Top N however I couldnt find one specific to my situation.
I have a table of invoices for items, each has a unit price.
ItemA 10.00 ItemA 12.00 ItemB 15.00 ItemB 16.00 ItemA 200.00 ItemC 29.99
I need to show items that have the biggest standard deviation in price by Item. I have created a table that simpley has Item and unitprice displayed as "standard deviation" and that works fine (fig A).
My next challenge os to show the Top 20 rows only so my report is not cluttered. I selected Item, visual filter, Top N then Top 20 by unit cost (standard deviation) but it shows some subset of the results that I simply dont understand. See Fig B
Any ideas what Im doing wrong? I just expoect to see 10 rows of data.
Cheers
Solved! Go to Solution.
Hi @cnschulz,
I am sorry to misunderstand you, I have tested it again, you could refer to below picture:
And I think if you want to order the items by value, you need to calculate the top n based on the value you could refer to below link:
https://powerbi.microsoft.com/en-us/blog/power-bi-desktop-october-feature-summary/
Regards,
Daniel He
Hi @cnschulz,
Based on my test, it could work on my side.
Sample data:
Result:
Could you please share your pbix file if possible?
Regards,
Daniel He
Cheers, I cant suply the pbix as is violates our compant policy...
Two things with your example:
1. You only have one occurance of each item in your sample. My example has multiple (which the SD is calculated against)
2. You are calculating top n based on the value only, whereas I need the Top N standard deviations for each item.
Cheers
Hi @cnschulz,
Could you please tell me if your problem has been solved? If it is, could you please mark the helpful replies as Answered?
Regards,
Daniel He
Hi @cnschulz,
I am sorry to misunderstand you, I have tested it again, you could refer to below picture:
And I think if you want to order the items by value, you need to calculate the top n based on the value you could refer to below link:
https://powerbi.microsoft.com/en-us/blog/power-bi-desktop-october-feature-summary/
Regards,
Daniel He
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
115 | |
99 | |
86 | |
70 | |
62 |
User | Count |
---|---|
151 | |
120 | |
103 | |
87 | |
68 |