Forum Discussion
Multiply Values from Single Column
I thought [Ratio] is a measure
otherwise no need to summarize just
=
PRODUCTX (
'Table',
1 / 'Table'[Ratio]
)No worries 🙂 I could have been clearer. That function is returning a repeating zero.0'
- tamerj13 years agoCommunity Champion
Are you using the dmsame data as pet the example? If so you shouldn't get 0. Anyway, please increase the number of decimal points just yo confirm you're actually getting zero not a number rounded to zero.
do you zero or blank values in the ratio column?
also advise if you gave a unique date or index column.- jbaisley3 years agoHelper I
Yep, same data (there is more of it than in the exmaple), and expanding the decimal to 15 places. Its a repating 0. Becasue it an odds ratio I moved it back a step to the percent, as the fucntion would be (1/ Odds[percentage)-1 = Odds[Ratio]. Doing that I get 'infinity'
- Greg_Deckler3 years agoCommunity Champion
OK, am I crazy to point out that multiplying the inverse of the ratio does not produce the same result as dividing the numbers? See PBIX attached. PRODUCX('Table', 1/[Ratio]) with the sample data returns 1.75 while dividing the numbers returns 3.24. Where is my math failing me?