The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi all, I would need help to calculate this in a measure:
How many different users of type = user , level1 and level 2 I have in the table:
I appreciate your help, thanks!!
Solved! Go to Solution.
Users =
CALCULATE(
COUNTROWS('Table_Name'),
'Table_Name' IN {"user", "level1", "level2"}
)
Users =
CALCULATE(
COUNTROWS('Table_Name'),
'Table_Name' IN {"user", "level1", "level2"}
)
@Fernandez my pleasure 🙂
Hey, check out my showcase report:
https://community.powerbi.com/t5/Data-Stories-Gallery/SpartaBI-Feat-Contoso-100K/td-p/2449543
Give it a thumbs up if you liked it 🙂
User | Count |
---|---|
27 | |
12 | |
8 | |
8 | |
5 |
User | Count |
---|---|
31 | |
15 | |
12 | |
11 | |
7 |