Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi Team,
I need a measure that will give the count of rows from the table visual.
In the requirement, the user is selecting TOP N values from the TOP N filter and I want to show the same value in a measure that ' User has selected 5 values in the TOP N filter based on another measure.
I know we will not access the values user will enter in TOP N filter but how to get row count in visual?
An alternative solution in my requirement is the Measure should show DistinctCount Opptinumber values i.e 5
Sample Data in table
Oppty number BU Sales
1 S 20
2 A 30
3 F 40
3 P 50
3 S 89
4 A 30
5 Au 40
Please help me with the implementation.
Regards,
Rajesh
@Anonymous
COUNTROWS(VALUES(table[Oppty Number]))
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 |
---|---|
14 | |
10 | |
10 | |
9 | |
9 |
User | Count |
---|---|
20 | |
13 | |
13 | |
11 | |
8 |