Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Eu tenho uma tabela com nome de funcionários e quantidade de venda, onde para cada linha na tabela e uma venda realizada.
Em uma matriz eu coloquei:
Nome funcionários e uma medida quantidade de venda.
Quero adicionar uma segmentação de dados, e escolher um funcionário.
E na matrix quero que apareça apenas os 3 funcionários que vendeu mais do que ele e os 3 que vende mais do ele.
E possível?
@EdsonGomes , You need an independent date table.
Create a measure using that
select sales =
calculate([sales] , filter(Table, Table[employee] = selectedvalue(Emp[Employee]))
Create a measure
final Sales=
sumx(filter(values(Table[Employee]), [sales] >[select sales]),[Sales])
Not you can use TOPN filter from viusal level filter of use TOPN function
TOP 3= CALCULATE([final Sales],TOPN(3,all(Table[Employee]),[final Sales],DESC),VALUES(Table[Employee]))
use only this measure with an employee from the table
refer
Need of an Independent Table in Power BI: https://youtu.be/lOEW-YUrAbE
TOPN: https://www.youtube.com/watch?v=QIVEFp-QiOk&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=42
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
11 | |
10 | |
10 | |
9 | |
8 |
User | Count |
---|---|
17 | |
13 | |
12 | |
11 | |
8 |