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,
I have a sales table that I have the TOP 10 selling products based on the VALUE. Now I want to calculate on the DISTRIBUTION on the same 10 products.
I've got the ranking link this: TOP=RANKX(ALL(Table[product],value))
and then the TOP 10= CALCULATE([value], FILTER(table,[TOP]<=10))
This works fine, but I can not make it work with the DISTRIBUTION at the same time.
I did find it in this post: https://community.powerbi.com/t5/Desktop/How-to-calculate-top-10-highest-in-the-table-and-also-ranki...
Anyone that can help!
Br Kent
@Anonymous , is something like this not working
% = divide( CALCULATE([value]), CALCULATE([value], FILTER(allselected(table),[TOP]<=10)))
Of you can use % of total , after right click on measure in the visual pane
Hi @amitchandak
Well - I already have the distribution per Product in another column, and it is that column I want to take in based on the Value (top 10). I can make the TOP 10 products based on the value, buts it's when I change the Value with the Distribution it takes all distribution point...
First i make a RANK:
Then I make a selection of that rank
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 |
---|---|
113 | |
100 | |
77 | |
76 | |
52 |
User | Count |
---|---|
144 | |
109 | |
108 | |
88 | |
61 |