Forum Discussion
Nie
3 years agoHelper I
Get p value from Independent Sample T-Test
Like this thread: https://community.powerbi.com/t5/Desktop/How-to-replicate-T-TEST-excel-function-in-powerBI/m-p/2866324 I am also trying to replicate Excel's t.test using DAX. One of the info in...
- 3 years ago
I've done some testing using Scipy in Python to check the results. T.DIST.2T does appear to give the p value if you can provide the t statistic. Why there is a T.DIST.2T but not a T.TEST in DAX is puzzling. It strongly implies the T.DIST.2T in DAX does something very different. I'll mark this as the "Solution" until I figure how what exactly T.DIST.2T does, why T.TEST is missing, and why I am forced to manually calculate the t-statistic.
Greg_Deckler
3 years agoCommunity Champion
lbendlin Nie Unfortunately no, the documentation was so bad I have no idea what the heck that function is doing internally so I didn't know how to replicate it. I'll revisit and do some research on it and try to figure it out.
Kedar_Pande
2 years agoSuper User
Hi Greg_Deckler , Did you find anything on calculating the p-value in Power BI?