Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hi, I am trying to find the average planned to working hour conversation rate. But, When there is 0.00% converstion rate in any of the two months, I just need to show the conversion rate which is only available. For Example, for 'John' in the image below, the conversion rate should be 75.00% ignoring 0.00% from the month February.
Below is the PBI file-
https://drive.google.com/file/d/1MPwUn89yxiUYwSWpJKispl7LesBJQd9Y/view?usp=share_link
Below is the Dataset-
Thanks
Solved! Go to Solution.
Hi @Green_Cloud ,
According to your description, here are my steps you can follow as a solution.
(1) My test data is the same as yours.
(2) We can create a measure.
Measure =
var _a = AVERAGEX(FILTER('Sample',[Working Hour]<>0&&[Month] in {"February","March"}),DIVIDE([Working Hour],[Planned Hour]))
return IF(ISBLANK(_a),0,_a)
(3) Then the result is as follows.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Green_Cloud ,
According to your description, here are my steps you can follow as a solution.
(1) My test data is the same as yours.
(2) We can create a measure.
Measure =
var _a = AVERAGEX(FILTER('Sample',[Working Hour]<>0&&[Month] in {"February","March"}),DIVIDE([Working Hour],[Planned Hour]))
return IF(ISBLANK(_a),0,_a)
(3) Then the result is as follows.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank You!
Turn 0's into blanks and DAX will take care of this automatically.
Tried but not working.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 |