Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi everyone,
My dataset includes 3 columns, 1)case id 2)repair arrived date 3)repair finished date.
I want to combine the two different dates and the number of the cases in the same graph. I created a Date table in PowerBI, I chose the "repair arrived date"to be the active relationship for the date and I want to count the number of the cases that arrived and finished each month. How can I write my DAX function? Thank you.
Create an inactive relationship from date to the finished date column and you can use
Num finished =
CALCULATE (
COUNTROWS ( 'Table' ),
USERELATIONSHIP ( 'Date'[Date], 'Table'[Finished date] )
)
Num arrived would be a simple COUNTROWS('Table')
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 98 | |
| 72 | |
| 50 | |
| 49 | |
| 42 |