Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have 4 tables
logins, ConnectedUsers,FacilityCode, ProviderCode.
Basically in ConnectedUsers table i have:
Provider_Name | System_Code | Facility_Code | RegisteredUsers |
AHSE | GAYA | 10 | |
CCMS | GAYA | AA02 | 4 |
AHSE | GAYA | 6 |
logins
EventID | System_Code | Facility_Code |
01 | GAYA | AA02 |
02 | GAYA |
I have a measure that calculates logins based on event ID (count), however, I want the system to check if facility code in connectedusers table is blank then it should take system_code registered users.
User | Count |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
12 | |
11 | |
8 | |
7 |