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.
I'm trying to countrows whilst using a userelationship and filter. Not working so far...any ideas?
BTS Actual = calculate(COUNTROWS('Schedule',Schedule[Actual Count],
Here's how you can adjust your DAX formula to correctly use USERELATIONSHIP in conjunction with FILTER and CALCULATE:
BTS Actual =
CALCULATE(
COUNTROWS('Schedule'),
USERELATIONSHIP(Calendar[Date],'Schedule'[Actual date performed]),
'Schedule'[WO Type] = "BTS"
)
User | Count |
---|---|
20 | |
8 | |
7 | |
7 | |
6 |
User | Count |
---|---|
28 | |
12 | |
11 | |
9 | |
8 |