Value to Top 10 items

MarkCBB

Active Member
Joined
Apr 12, 2010
Messages
497
Hi there,

I am using Power BI Desktop.

I have been able to (With the help of Matt Allington) to create a chart with the top 10 items and their values, But I would also like to have the value of the top 10 items in a Card, I have searched for awhile and all the examples are a bit confusing.
 
Last edited:
I don't understand why I don't get this fully, I have a very simple data compared to the above database and for the life of me I cant get the value of the TopN.
There is 1 table called DATA, there is a column called COUNT and a Column called MSISDN, I am trying to get the value of the top 5 Product by the COUNT. I have no idea what I am doing wrong.
Code:
asdasd = SUMX(TOPN(5,SUMMARIZE(DATA,DATA[MSISDN],"????"),SUM(DATA[COUNT]),DESC),SUM(DATA[COUNT]))

Please can someone show me what I am doing wrong?
 
Upvote 0

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".

Forum statistics

Threads
1,225,626
Messages
6,186,095
Members
453,337
Latest member
fiaz ahmad

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top