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
I have 3 separate measures shown below, It works fine,
Projects[Active Tasks] = CALCULATE(COUNTROWS('Tasks'),FILTER('Tasks','Tasks'[status] = "Active"))
Projects[Completed Tasks] = CALCULATE(COUNTROWS('Tasks'),FILTER('Tasks','Tasks'[status] = "Completed"))
Projects[Percent Complete] = DIVIDE([Completed Tasks],([Completed Tasks]+[Active Tasks]))
rather than showing nothing , I want to show 0% (where Active Tasks and Completed Tasks) are null, (see below highlighted in RED).
How do I modify above measure to achieve this, any help is appreciated
@smjzahid , Try like
Projects[Percent Complete] = DIVIDE([Completed Tasks],([Completed Tasks]+[Active Tasks]),0)
or
Projects[Percent Complete] = DIVIDE([Completed Tasks],([Completed Tasks]+[Active Tasks]))+0
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 |
|---|---|
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 3 |
| User | Count |
|---|---|
| 24 | |
| 21 | |
| 12 | |
| 10 | |
| 8 |