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
LoonaMoon
Frequent Visitor

QUOTIENT rerurns 0 when it should not

Hi all,

I have a problem with DAX functions QUOTIENT.

I have "minutes spent fact" column and I want to convert it to "X day, Y hours, Z mins" format.

My first step is to divide "minutes spent fact" by 60 to convert minutes to hours

I'm using QUOTIENT function. Here what it returns

Capture.PNG

 

QUOTIENT (1320, 60) should return 22. Am I right?  or I get the wrong idea of this function...

 

Here are other screen with some wrong zero results

zoe.PNG

1 ACCEPTED SOLUTION
VahidDM
Super User
Super User

Hi @LoonaMoon 

 

Try TRUNC([minutes spent fact]/60).

 

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.

Appreciate your Kudos!!

 

View solution in original post

1 REPLY 1
VahidDM
Super User
Super User

Hi @LoonaMoon 

 

Try TRUNC([minutes spent fact]/60).

 

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.

Appreciate your Kudos!!

 

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.