Forum Discussion
Divide function giving different results
- 6 years ago
Anonymous,
Is your table like this?
I created a measure but didn't meet the error:
Measure 2 = VAR x = COUNTX( FILTER( Sheet9, [Status] = 2 ), [Status] ) VAR y = COUNTAX( Sheet9, Sheet9[Status POT] ) RETURN DIVIDE( y, x )The error is very strange.
Why did you add filters on this visual?
Maybe you can remove the filters , then, try it again.
Hi , Yes right result 0.79 but i am getting as 1 After Using GROSS - Payment On Time % = COUNTAX( 'Append-France,Greece,Monaco', 'Append-France,Greece,Monaco'[Status POT ] ) / [Volume of Supplier Invoices Paid] Thanks In Advance.
Hi Anonymous ,
Can you give me your .PBIX file?
Maybe we need to modify the DAX of [Volume of Supplier Invoices Paid] .
Regards,
Lionel Chen
- Anonymous6 years agoNot applicable
I have used measure as below:
Volume of Supplier Invoices Paid = COUNTX(FILTER('Append-France,Greece,Monaco','Append-France,Greece,Monaco'[Status]=30),'Append-France,Greece,Monaco'[Status])
i am unable to share PBIX file as per the security norms of organisation.
Best Wishes,
Younis Syed