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.
I'm very new to Power BI, and whilst I could do this easily in Excel I am struggling here. I have a table of users who have access to a system and a table of users who have been trained in the system. I would like to calculate the percentage of users for any given organisation who have access and have been trained.
Table 1 columns:
UserID
Organisation
Access active
Table 2 columns:
UserID
Organisation
Date trained
Desired result = % of Organisation {X, Y, Z} that have access and are trained
Solved! Go to Solution.
Assume your dataset as below
Table 1
(Table2)
Create calculated columns in Table1
trained = RELATED(Table2[user id]) access and trained =
CALCULATE (
COUNT ( Table1[trained] ),
FILTER ( ALL ( Table1 ), [organization] = EARLIER ( Table1[organization] ) )
) percentage =
DIVIDE (
[access and trained],
CALCULATE (
COUNT ( Table1[user id] ),
FILTER ( ALL ( Table1 ), [organization] = EARLIER ( Table1[organization] ) )
)
)
Best Regards
Maggie
Assume your dataset as below
Table 1
(Table2)
Create calculated columns in Table1
trained = RELATED(Table2[user id]) access and trained =
CALCULATE (
COUNT ( Table1[trained] ),
FILTER ( ALL ( Table1 ), [organization] = EARLIER ( Table1[organization] ) )
) percentage =
DIVIDE (
[access and trained],
CALCULATE (
COUNT ( Table1[user id] ),
FILTER ( ALL ( Table1 ), [organization] = EARLIER ( Table1[organization] ) )
)
)
Best Regards
Maggie
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 |
---|---|
84 | |
76 | |
73 | |
42 | |
36 |
User | Count |
---|---|
109 | |
56 | |
52 | |
48 | |
42 |