Forum Discussion
Dynamic TOP N On a table visual based on different dimension and fact columns
Hi I want to implement dynamic TOP N where user can input the value and see the top values. Considering a table visual where multiple fields are added from multiple dimensions. How to solve this one. Solution would be really appreciated.
Please refer to the attached Screenshot.
_Junayetrahman , Multicolumn TOPN can be achieved using
example
2 column top N = CALCULATE([Net], TOPN(10, SUMMARIZE(ALLSELECTED('Item'), 'Item'[Brand], 'Item'[Category]), [Net],DESC),VALUES('Item'[Brand]), VALUES('Item'[Category]) )
2 column top N = Sumx(Keepfilters( TOPN(10, SUMMARIZE(ALLSELECTED('Item'), 'Item'[Product Category], 'Item'[Product Name]), [Total_sales],DESC)), [Total_sales])for Dynamic TOPN refer
Learn Power BI: Dynamic TOPN using TOPN/Window and Numeric parameter: https://youtu.be/vm2mdEioQPQ
3 Replies
- amitchandak
Super User
_Junayetrahman , Multicolumn TOPN can be achieved using
example
2 column top N = CALCULATE([Net], TOPN(10, SUMMARIZE(ALLSELECTED('Item'), 'Item'[Brand], 'Item'[Category]), [Net],DESC),VALUES('Item'[Brand]), VALUES('Item'[Category]) )
2 column top N = Sumx(Keepfilters( TOPN(10, SUMMARIZE(ALLSELECTED('Item'), 'Item'[Product Category], 'Item'[Product Name]), [Total_sales],DESC)), [Total_sales])for Dynamic TOPN refer
Learn Power BI: Dynamic TOPN using TOPN/Window and Numeric parameter: https://youtu.be/vm2mdEioQPQ
- _JunayetrahmanFrequent Visitor
2 column top N = Sumx(Keepfilters( TOPN(10, SUMMARIZE(ALLSELECTED('Item'), 'Item'[Product Category], 'Item'[Product Name]), [Total_sales],DESC)), [Total_sales])
is fine but How to show all data in table visual instead of only 10?
- _JunayetrahmanFrequent Visitor
2 column top N = Sumx(Keepfilters( TOPN(10, SUMMARIZE(ALLSELECTED('Item'), 'Item'[Product Category], 'Item'[Product Name]), [Total_sales],DESC)), [Total_sales])
is fine but How to show all data in table visual instead of only 10?