The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
This is my data .
Here i want to find out count of employees who has done both Power BI and Azure.
As per data only Empid =1 is the only employee who has done both certifications and count should be one and that count i want to use in other calculations.
Solved! Go to Solution.
@sushma1412_Ind
You can create a the following measure
Count of Emp =
CALCULATE (
DISTINCTCOUNT ( tablename(empid),
tablename(certification) IN {"Power BI" , "Azure"} )
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@Fowmy - This will work as OR condition and it will give the count of employees who has done power bi or Azure and we will get count as 2 but i want count as 1 who has done both Powerbi and Azure
The formula I shared should give you one as the result as I have used DISTINCTCOUNT.
If you use AND then you wont any results as a single row cannot contain both so please test it and reply
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
any suggestions
User | Count |
---|---|
24 | |
9 | |
8 | |
7 | |
6 |
User | Count |
---|---|
29 | |
13 | |
11 | |
9 | |
9 |