Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
kashi165
New Member

Infinity Value in Cumulative Efficiency Measure

Hi Pros,

 

In my dataset, I have two measures: "Hours Sold" and "Hours Worked." I have calculated the cumulative efficiency measure by dividing "Hours Sold" by "Hours Worked." However, I have noticed that some cells in the cumulative efficiency column are empty, resulting in infinite values being displayed in my report.

My objective is to find an effective approach to handle these empty cells and display them as zeros in the report. I have attempted to use the IF and ISBLANK functions within the measure formula, but I haven't achieved the desired results.

Thanks in Advance

kashi165_0-1688965961944.png

kashi165_1-1688965977267.png

 

1 REPLY 1
Ahmedx
Super User
Super User

you are most likely using the /  in a last measure! which is why you have an infinite .

you need to use DIVIDE

Measure =  DIVIDE([Absenteeism],[Gap in date],0)

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.