Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi,
I basically want to return all the dates but where a driver Driver Status = 'Active'
So I have the DAX Code:
CALCULATE(DISTINCTCOUNT('Dim Driver'[Driver Id]),ALL('Dim Date'[Day Date]))
But I need to add a filter to the DISTINCTCOUNT where 'Dim Driver'[Driver Status] = "Active"
Solved! Go to Solution.
Hi @VendettaBob ,
CALCULATE takes multiple filters, have you tried:
CALCULATE(DISTINCTCOUNT('Dim Driver'[Driver Id]),ALL('Dim Date'[Day Date]),'Dim Driver' [Driver Status]="Active")
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel
Proud to be a Super User!
Hi @VendettaBob ,
CALCULATE takes multiple filters, have you tried:
CALCULATE(DISTINCTCOUNT('Dim Driver'[Driver Id]),ALL('Dim Date'[Day Date]),'Dim Driver' [Driver Status]="Active")
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel
Proud to be a Super User!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
15 | |
11 | |
8 | |
8 | |
8 |
User | Count |
---|---|
22 | |
13 | |
11 | |
10 | |
10 |